diff options
author | bubnikv <bubnikv@gmail.com> | 2019-07-26 14:44:33 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-07-26 14:44:33 +0300 |
commit | 30d4bfd41026ea8cc8be181bf2af3210ed76a763 (patch) | |
tree | 4b7bd184882200de85ed09be35cdf3cebc343c19 /src/slic3r/GUI/SysInfoDialog.cpp | |
parent | eefd950e1678df33a95e0c22749c655a80f0ea83 (diff) |
New Undo / Redo stack for the gizmos. The Gizmo specific stack is
entered with Plater::enter_gizmos_stack(), and left with
Plater::enter_gizmos_stack(). Other than that, the 2nd Undo / Redo
stack is transparent to the user of the Plater.
WIP: Currently the Gizmo stack takes a snapshot of the whole scene on
Plater::enter_gizmos_stack(). While it should work, it may be cheaper
to modify the Undo/Redo stack to only take a snapshot of the gizmos
in the Gizmo mode.
Diffstat (limited to 'src/slic3r/GUI/SysInfoDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/SysInfoDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/SysInfoDialog.cpp b/src/slic3r/GUI/SysInfoDialog.cpp index 96a3e9a81..e9487ee15 100644 --- a/src/slic3r/GUI/SysInfoDialog.cpp +++ b/src/slic3r/GUI/SysInfoDialog.cpp @@ -58,7 +58,7 @@ std::string get_mem_info(bool format_as_html) std::string b_end = format_as_html ? "</b>" : ""; std::string line_end = format_as_html ? "<br>" : "\n"; - const Slic3r::UndoRedo::Stack &stack = wxGetApp().plater()->undo_redo_stack(); + const Slic3r::UndoRedo::Stack &stack = wxGetApp().plater()->undo_redo_stack_main(); out << b_start << "RAM size reserved for the Undo / Redo stack [MB]: " << b_end << Slic3r::format_memsize_MB(stack.get_memory_limit()) << line_end; out << b_start << "RAM size occupied by the Undo / Redo stack [MB]: " << b_end << Slic3r::format_memsize_MB(stack.memsize()) << line_end << line_end; |