mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Fix for 0592ae65ee
This commit is contained in:
parent
0592ae65ee
commit
1a3fc0994b
5 changed files with 18 additions and 23 deletions
|
@ -36,7 +36,7 @@
|
|||
namespace Slic3r {
|
||||
namespace UndoRedo {
|
||||
|
||||
SnapshotData::SnapshotData() : printer_technology(ptUnknown), flags(0), layer_range({0.0, 0.0})
|
||||
SnapshotData::SnapshotData() : printer_technology(ptUnknown), flags(0), layer_range_idx(-1)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ struct SnapshotData
|
|||
PrinterTechnology printer_technology;
|
||||
// Bitmap of Flags (see the Flags enum).
|
||||
unsigned int flags;
|
||||
int layer_range_idx;
|
||||
|
||||
// Bitmask of various binary flags to be stored with the snapshot.
|
||||
enum Flags {
|
||||
|
@ -45,8 +46,6 @@ struct SnapshotData
|
|||
SELECTED_LAYERROOT_ON_SIDEBAR = 4,
|
||||
SELECTED_LAYER_ON_SIDEBAR = 8,
|
||||
};
|
||||
|
||||
t_layer_height_range layer_range;
|
||||
};
|
||||
|
||||
struct Snapshot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue