1st installment of gizmo move 3D

This commit is contained in:
Enrico Turri 2018-09-11 09:00:28 +02:00
parent 781df150a1
commit 4479c5444a
9 changed files with 275 additions and 13 deletions

View file

@ -338,6 +338,7 @@ public:
void set_convex_hull(const TriangleMesh& convex_hull);
void set_select_group_id(const std::string& select_by);
void set_drag_group_id(const std::string& drag_by);
int object_idx() const { return this->composite_id / 1000000; }
int volume_idx() const { return (this->composite_id / 1000) % 1000; }
@ -449,6 +450,7 @@ public:
void update_colors_by_extruder(const DynamicPrintConfig* config);
void set_select_by(const std::string& select_by);
void set_drag_by(const std::string& drag_by);
// Returns a vector containing the sorted list of all the print_zs of the volumes contained in this collection
std::vector<double> get_current_print_zs(bool active_only) const;