Fixed manipulator.
This commit is contained in:
parent
ab1b199da8
commit
d156e259ef
@ -51,7 +51,7 @@ void TestManipulator::home(const GUIEventAdapter& ,GUIActionAdapter& us)
|
|||||||
const osg::BoundingSphere& boundingSphere=_node->getBound();
|
const osg::BoundingSphere& boundingSphere=_node->getBound();
|
||||||
|
|
||||||
computePosition(boundingSphere.center()+osg::Vec3(0.0f, 0.0f, 20.0f),
|
computePosition(boundingSphere.center()+osg::Vec3(0.0f, 0.0f, 20.0f),
|
||||||
osg::Vec3(0.0f, 1.0f, 20.0f),
|
osg::Vec3(0.0f, 1.0f, 0.0f),
|
||||||
osg::Vec3(0.0f, 0.0f, 1.0f));
|
osg::Vec3(0.0f, 0.0f, 1.0f));
|
||||||
|
|
||||||
us.requestRedraw();
|
us.requestRedraw();
|
||||||
|
Loading…
Reference in New Issue
Block a user