mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 21:20:39 +08:00
Fix reflection on object
This commit is contained in:
parent
91109892d9
commit
6a932e4b9e
@ -1108,7 +1108,8 @@ void GLGizmoSVG::draw_reflection()
|
|||||||
if (axis != Axis::UNKNOWN_AXIS){
|
if (axis != Axis::UNKNOWN_AXIS){
|
||||||
Selection &selection = m_parent.get_selection();
|
Selection &selection = m_parent.get_selection();
|
||||||
selection.setup_cache();
|
selection.setup_cache();
|
||||||
selection.mirror(axis, TransformationType::Local);
|
TransformationType type = m_volume->is_the_only_one_part()? TransformationType::Instance : TransformationType::Local;
|
||||||
|
selection.mirror(axis, type);
|
||||||
m_parent.do_mirror(L("Set Mirror"));
|
m_parent.do_mirror(L("Set Mirror"));
|
||||||
wxGetApp().obj_manipul()->UpdateAndShow(true);
|
wxGetApp().obj_manipul()->UpdateAndShow(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user