From 49973895f98872de041380e78689146c11f746cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Wed, 20 May 2015 20:36:50 +0200 Subject: [PATCH] fix primitive offset setting issues --- src/Mod/PartDesign/App/DatumCS.cpp | 4 ++-- src/Mod/PartDesign/Gui/TaskDatumParameters.ui | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/PartDesign/App/DatumCS.cpp b/src/Mod/PartDesign/App/DatumCS.cpp index d070de182..5168f8e0b 100644 --- a/src/Mod/PartDesign/App/DatumCS.cpp +++ b/src/Mod/PartDesign/App/DatumCS.cpp @@ -203,9 +203,9 @@ void CoordinateSystem::onChanged(const App::Property *prop) Base::Vector3d o1; plm.getRotation().multVec(Base::Vector3d(1,0,0), o1); Base::Vector3d o2; - plm.getRotation().multVec(Offset2.getValue()*Base::Vector3d(0,1,0), o2); + plm.getRotation().multVec(Base::Vector3d(0,1,0), o2); Base::Vector3d o3; - plm.getRotation().multVec(Offset3.getValue()*Base::Vector3d(0,0,1), o3); + plm.getRotation().multVec(Base::Vector3d(0,0,1), o3); plm.move(Offset.getValue()*o1+Offset2.getValue()*o2+Offset3.getValue()*o3); Placement.setValue(plm); diff --git a/src/Mod/PartDesign/Gui/TaskDatumParameters.ui b/src/Mod/PartDesign/Gui/TaskDatumParameters.ui index 0bd70d495..af3a667b0 100644 --- a/src/Mod/PartDesign/Gui/TaskDatumParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskDatumParameters.ui @@ -7,7 +7,7 @@ 0 0 272 - 285 + 352 @@ -74,7 +74,7 @@ 999999999.000000000000000 - 5.000000000000000 + 1.000000000000000 0.000000000000000 @@ -101,7 +101,7 @@ 999999999.000000000000000 - 5.000000000000000 + 1.000000000000000 0.000000000000000 @@ -128,7 +128,7 @@ 999999999.000000000000000 - 5.000000000000000 + 1.000000000000000 0.000000000000000