mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 20:16:05 +08:00
added Selected_instance field to Plater2DObject, also added reference to object index to Plater.
This commit is contained in:
parent
dcb5b46bd4
commit
1ededf8481
@ -21,6 +21,7 @@
|
|||||||
namespace Slic3r { namespace GUI {
|
namespace Slic3r { namespace GUI {
|
||||||
|
|
||||||
using UndoOperation = int;
|
using UndoOperation = int;
|
||||||
|
using obj_index = unsigned int;
|
||||||
|
|
||||||
class Plater2DObject;
|
class Plater2DObject;
|
||||||
class Plate2D;
|
class Plate2D;
|
||||||
|
@ -8,6 +8,7 @@ public:
|
|||||||
std::string name {""};
|
std::string name {""};
|
||||||
std::string identifier {""};
|
std::string identifier {""};
|
||||||
bool selected {false};
|
bool selected {false};
|
||||||
|
int selected_instance {-1};
|
||||||
};
|
};
|
||||||
} } // Namespace Slic3r::GUI
|
} } // Namespace Slic3r::GUI
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user