Commit 7f2253ce authored by Jan Möbius's avatar Jan Möbius

Python Interface for InfoMeshObject

parent 5ed88f74
......@@ -4,6 +4,7 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/ObjectTypes/TSplineMesh)
add_definitions (-DENABLE_TSPLINEMESH_SUPPORT)
endif ()
openflipper_plugin (DIRS TSplineMesh
openflipper_plugin (PYTHONINTERFACE
DIRS TSplineMesh
TRANSLATION_LANGUAGES de_DE
TYPES POLYMESH TRIANGLEMESH )
......@@ -60,6 +60,7 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/StatusbarInterface.hh>
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/PythonInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
......@@ -74,7 +75,7 @@
Plugin to visualize information about objects in the scene
*/
class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface, LoggingInterface, StatusbarInterface, LoadSaveInterface
class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface, LoggingInterface, StatusbarInterface, LoadSaveInterface, PythonInterface
{
Q_OBJECT
Q_INTERFACES(BaseInterface)
......@@ -82,6 +83,7 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(StatusbarInterface)
Q_INTERFACES(LoadSaveInterface)
Q_INTERFACES(PythonInterface)
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-MeshObjectInfo")
......
This diff is collapsed.
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