Fixed arrange for objects with 3D rotations

This commit is contained in:
Enrico Turri committed 2018-09-24 15:21:18 +02:00
1 parent 270341300f
commit e3d44b07fe
3 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -687,8 +687,7 @@ void applyResult(
// write the transformation data into the model instance
#if ENABLE_MODELINSTANCE_3D_ROTATION
// CHECK_ME -> Is the following correct ?
inst_ptr->set_rotation(Vec3d(0.0, 0.0, rot));
inst_ptr->set_rotation(Z, rot);
#else
inst_ptr->rotation = rot;
#endif // ENABLE_MODELINSTANCE_3D_ROTATION