added Selected_instance field to Plater2DObject, also added reference to object index to Plater.

This commit is contained in:
Joseph Lenox 2018-04-30 22:34:30 -05:00 committed by Joseph Lenox
parent dcb5b46bd4
commit 1ededf8481
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
namespace Slic3r { namespace GUI {
using UndoOperation = int;
using obj_index = unsigned int;
class Plater2DObject;
class Plate2D;

View File

@ -8,6 +8,7 @@ public:
std::string name {""};
std::string identifier {""};
bool selected {false};
int selected_instance {-1};
};
} } // Namespace Slic3r::GUI
#endif