Commit aee43b4a authored by Jan Möbius's avatar Jan Möbius

Separated all OpenMesh related types, removed core dependency on OM Object types

parent 98726e76
include (plugin)
openflipper_plugin ()
openflipper_plugin ( TYPES TRIANGLEMESH )
......@@ -97,7 +97,7 @@ void IsotropicRemesherPlugin::slotRemeshButtonClicked() {
void IsotropicRemesherPlugin::slotRemesh(){
//read one target objects
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DataType(DATA_TRIANGLE_MESH | DATA_POLY_MESH)) ;
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DataType(DATA_TRIANGLE_MESH)) ;
o_it != PluginFunctions::objectsEnd(); ++o_it) {
//check dataType
......@@ -123,7 +123,7 @@ void IsotropicRemesherPlugin::threadFinished(QString /*_jobId*/) {
std::cerr << "threadFinished() called" << std::endl;
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DataType(DATA_TRIANGLE_MESH | DATA_POLY_MESH)) ;
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DataType(DATA_TRIANGLE_MESH)) ;
o_it != PluginFunctions::objectsEnd(); ++o_it) {
emit updatedObject( o_it->id(), UPDATE_ALL );
......
......@@ -60,7 +60,6 @@
#include <OpenFlipper/BasePlugin/BackupInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include "IsotropicRemesherToolbox.hh"
#include "ProgressEmitter.hh"
......
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