Fix: rotation was not applied on model, when use rotation drag and do not use function per_glyph or use_surface

This commit is contained in:
Filip Sykala - NTB T15p 2024-05-27 18:53:19 +02:00 committed by Lukas Matena
parent 1a0a83f07a
commit ab7dbe364e

View File

@ -3239,6 +3239,8 @@ void GLGizmoEmboss::draw_rotation() {
std::string no_snapshot;
m_parent.do_rotate(is_last_change? rotation_snapshot_name : no_snapshot);
process(is_last_change);
} else if (is_last_change){
m_parent.do_rotate(rotation_snapshot_name);
}
}