Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2020-01-21 16:07:13 +0300
committerEnrico Turri <enricoturri@seznam.cz>2020-01-21 16:07:13 +0300
commitdd09077bba74e717419bed1a0a717eef747afd46 (patch)
tree4d8a1e8f9a697289678a7976e4d00ff7bcb114d3 /src/slic3r/GUI/Plater.hpp
parent5342ad899022782093616ca610747456b70dbf0c (diff)
Reload from disk command enhanced to work with 3mf/amf files saved with PrusaSlicer 2.1.0 and earlier
Diffstat (limited to 'src/slic3r/GUI/Plater.hpp')
-rw-r--r--src/slic3r/GUI/Plater.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Plater.hpp b/src/slic3r/GUI/Plater.hpp
index 1bea07795..a85a3540a 100644
--- a/src/slic3r/GUI/Plater.hpp
+++ b/src/slic3r/GUI/Plater.hpp
@@ -238,6 +238,9 @@ public:
int get_selected_object_idx();
bool is_single_full_object_selection() const;
GLCanvas3D* canvas3D();
+#if ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK
+ GLCanvas3D* get_current_canvas3D();
+#endif // ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK
BoundingBoxf bed_shape_bb() const;
void set_current_canvas_as_dirty();
@@ -262,7 +265,9 @@ public:
bool can_copy_to_clipboard() const;
bool can_undo() const;
bool can_redo() const;
+#if !ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK
bool can_reload_from_disk() const;
+#endif // !ENABLE_BACKWARD_COMPATIBLE_RELOAD_FROM_DISK
void msw_rescale();