Fix for Issue number 53
https://cfl.prusa3d.com/display/SPE/Emboss+-+Test
This commit is contained in:
parent
20a94c015c
commit
8e1c08dac3
1 changed files with 4 additions and 0 deletions
|
@ -356,6 +356,10 @@ bool GLGizmoEmboss::on_mouse_for_translate(const wxMouseEvent &mouse_event)
|
|||
// temp is in wolrld coors
|
||||
m_temp_transformation = object_trmat * trmat;
|
||||
} else if (mouse_event.LeftUp()) {
|
||||
// Added because of weird case after double click into scene
|
||||
// with Mesa driver OR on Linux
|
||||
if (!m_temp_transformation.has_value()) return false;
|
||||
|
||||
// TODO: Disable apply common transformation after draggig
|
||||
// Call after is used for apply transformation after common dragging to rewrite it
|
||||
Transform3d volume_trmat =
|
||||
|
|
Loading…
Reference in a new issue