We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed799c commit e012d6bCopy full SHA for e012d6b
src/Mod/Part/App/Tools.cpp
@@ -741,7 +741,7 @@ TopLoc_Location Part::Tools::fromPlacement(const Base::Placement& plm)
741
Base::Vector3d t = plm.getPosition();
742
743
gp_Trsf trf;
744
- trf.SetTranslation(gp_Vec(t.x, t.y, t.z));
745
- trf.SetRotation(gp_Quaternion(q1, q2, q3, q4));
+ trf.SetTranslationPart(gp_Vec(t.x, t.y, t.z));
+ trf.SetRotationPart(gp_Quaternion(q1, q2, q3, q4));
746
return {trf};
747
}
0 commit comments