13 Commits

Author SHA1 Message Date
Joseph Lenox
8ba681538d Use .at() instead of [] because that'll throw an exception if out of bounds instead of a hard-to-find memory crash. 2018-07-11 22:14:51 -05:00
Joseph Lenox
3d57da105d Remember that std::vector<>.size() needs to be offset by 1 if it's being used to find the last index. 2018-07-11 22:14:51 -05:00
Joseph Lenox
97cb562890 Implemented load_model_objects, fleshed out add() more.
Implemented bed_centerf().
2018-07-11 22:14:51 -05:00
Joseph Lenox
5b13c5a134 stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object. 2018-07-11 22:14:51 -05:00
Joseph Lenox
67451c03b5 Moved statusbar up to public (allow children to manipulate the statusbar) 2018-07-11 22:14:51 -05:00
Joseph Lenox
97961812f5 stubbed in load_model_objects, load_file should be implemented now. 2018-07-11 22:14:51 -05:00
Joseph Lenox
404618ecca Stubbed out load_file, some work on add to call load_file().
Added some comments for canvas2D.
2018-07-11 22:14:51 -05:00
Joseph Lenox
2bb202e2ec Set LogChannel for Slic3r::GUI::Plater 2018-07-11 22:14:51 -05:00
Joseph Lenox
4e74249511 Staged the 2D plater on its tab. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f44efd08b0 Push Settings down so it's available to the plater (for color choices, etc). 2018-07-11 22:14:51 -05:00
Joseph Lenox
4aef7ddff6 Further implementation of Plater and Plater2D. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6e541d4867 Stubbed Plater constructor. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e1667825a5 Moved plater stubs to its own cpp 2018-07-11 22:14:51 -05:00