From a41f498e1f5b6d56d48c5d3e4ac2605502b2fac1 Mon Sep 17 00:00:00 2001 From: blobfish Date: Wed, 7 Dec 2016 17:20:23 -0500 Subject: [PATCH] osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3 --- include/osgManipulator/Command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgManipulator/Command b/include/osgManipulator/Command index 122717766..555398b12 100644 --- a/include/osgManipulator/Command +++ b/include/osgManipulator/Command @@ -118,7 +118,7 @@ class OSGMANIPULATOR_EXPORT TranslateInLineCommand : public MotionCommand inline const osg::LineSegment::vec_type& getLineStart() const { return _line->start(); } inline const osg::LineSegment::vec_type& getLineEnd() const { return _line->end(); } - inline void setTranslation(const osg::Vec3& t) { _translation = t; } + inline void setTranslation(const osg::Vec3d& t) { _translation = t; } inline const osg::Vec3d& getTranslation() const { return _translation; } virtual osg::Matrix getMotionMatrix() const