mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
WIP: Transformations of an instance in world coordinate system
from the side panel.
This commit is contained in:
1 parent
2088abdc31
commit
5d2537af35
9 files changed
+134
-207
No files matched your search
@@ -629,7 +629,10 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt, GLCanvas3D& canvas)
|
||||
case Scale:
|
||||
{
|
||||
// Apply new temporary scale factors
|
||||
selection.scale(get_scale(), evt.AltDown());
|
||||
TransformationType transformation_type(TransformationType::World_Relative_Joint);
|
||||
if (evt.AltDown())
|
||||
transformation_type.set_independent();
|
||||
selection.scale(get_scale(), transformation_type);
|
||||
wxGetApp().obj_manipul()->update_settings_value(selection);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user