WIP Undo / Redo and project state: Marking Undo / Redo snapshots

with their purpose.
Follow-up to 41dc265a45
This commit is contained in:
Vojtech Bubnik 2021-09-27 14:32:09 +02:00
parent 41dc265a45
commit 9c4494637c
2 changed files with 5 additions and 3 deletions

View file

@ -57,7 +57,8 @@ void GLGizmoPainterBase::activate_internal_undo_redo_stack(bool activate)
m_internal_stack_active = true;
}
if (!activate && m_internal_stack_active) {
bool project_modified = plater->leave_gizmos_stack();
//FIXME report the true state!
bool project_modified = true; // plater->leave_gizmos_stack();
std::string str = get_painter_type() == PainterGizmoType::SEAM
? _u8L("Leaving Seam painting")
: _u8L("Leaving Paint-on supports");