Commit 3e4d5fdf authored by Dirk Wilden's avatar Dirk Wilden

switch to new plane DataType

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6772 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f3a60ad8
......@@ -351,6 +351,8 @@ void MovePlugin::moveObject(ACG::Matrix4x4d mat, int _id) {
} else if ( object->dataType() == DATA_POLY_LINE ) {
transformPolyLine(mat , *PluginFunctions::polyLine(object) );
#endif
} else if ( object->dataType() == DATA_PLANE ) {
PluginFunctions::planeNode(object)->transform(mat);
} else {
emit log(LOGERR,tr("moveObject called for unsupported Object Type"));
......@@ -1406,7 +1408,6 @@ void MovePlugin::transformPolyLine( ACG::Matrix4x4d _mat , PolyLineT& _polyLine
#endif
//------------------------------------------------------------------------------
/** \brief scale mesh to have a boundingboxdiagonal of one
......
......@@ -58,6 +58,7 @@
#include <OpenFlipper/BasePlugin/ContextMenuInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include <ObjectTypes/Plane/Plane.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include "MoveToolbar.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