Commit 3af8136a authored by Jan Möbius's avatar Jan Möbius

Dennis:

Translationmanipulator node autosize

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5318 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e371c413
......@@ -382,8 +382,6 @@ void MovePlugin::ManipulatorPositionChanged(QtTranslationManipulatorNode* _node
*/
void MovePlugin::placeManip(QMouseEvent * _event)
{
manip_size_ = PluginFunctions::sceneRadius() * 0.1;
unsigned int node_idx, target_idx;
OpenMesh::Vec3d hitPoint;
......@@ -401,6 +399,7 @@ void MovePlugin::placeManip(QMouseEvent * _event)
object->manipulatorNode()->loadIdentity();
object->manipulatorNode()->set_center(hitPoint);
object->manipulatorNode()->set_draw_cylinder(true);
object->manipulatorNode()->set_autosize(true);
object->manipulatorNode()->set_size(manip_size_ * manip_size_modifier_);
object->manipulatorNode()->show();
......
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