fix primitive offset setting issues
This commit is contained in:
parent
6067c64060
commit
49973895f9
|
@ -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);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>272</width>
|
||||
<height>285</height>
|
||||
<height>352</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -74,7 +74,7 @@
|
|||
<double>999999999.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>5.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>0.000000000000000</double>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<double>999999999.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>5.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>0.000000000000000</double>
|
||||
|
@ -128,7 +128,7 @@
|
|||
<double>999999999.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>5.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>0.000000000000000</double>
|
||||
|
|
Loading…
Reference in New Issue
Block a user