Commit 29b1b7fa authored by Jan Möbius's avatar Jan Möbius

Removed test line

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15024 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5cfc59d7
......@@ -170,8 +170,6 @@ void DecimaterPlugin::updateAspectRatio(double _value)
*/
void DecimaterPlugin::slot_decimate()
{
RPC::callFunction ("core", "multiViewMode", 5);
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DATA_TRIANGLE_MESH) ;
o_it != PluginFunctions::objectsEnd(); ++o_it) {
......@@ -326,7 +324,6 @@ void DecimaterPlugin::slot_decimate()
void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints) {
BaseObjectData* baseObjectData;
if ( ! PluginFunctions::getObject(_objID,baseObjectData) ) {
emit log(LOGERR,tr("Unable to get Object"));
......@@ -404,7 +401,7 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints) {
case 0:
decimater->setDecimationOrder(DecimaterInfo::DISTANCE);
decimater_object.add( hModQuadric );
decimater_object.module( hModQuadric ).unset_max_err();
decimater_object.module( hModQuadric )_constraints.unset_max_err();
break;
case 1:
decimater->setDecimationOrder(DecimaterInfo::NORMALDEV);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment