diff --git a/Doc/Examples/decimater.cc b/Doc/Examples/decimater.cc index 0ebb58c0..60b63c13 100644 --- a/Doc/Examples/decimater.cc +++ b/Doc/Examples/decimater.cc @@ -23,6 +23,13 @@ decimater.add( hModQuadric ); // register module at the decimater std::cout << decimater.module( hModQuadric ).name() << std::endl; // the way to access the module +/* + * since we need exactly one priority module (non-binary) + * we have to call set_binary(false) for our priority module + * in the case of HModQuadric, unset_max_err() calls set_binary(false) internally + */ +decimater.module( hModQuadric ).unset_max_err(); + decimater.initialize(); // let the decimater initialize the mesh and the // modules