5044 Commits

Author SHA1 Message Date
Joseph Lenox
cb07da66c7 Build wx and cache the build dir instead of the installdir. Also add it to PATH so that wx-config will be found. 2018-07-11 22:14:51 -05:00
Joseph Lenox
49f41e55d4 wrong argument to tar 2018-07-11 22:14:51 -05:00
Joseph Lenox
310301e964 Build wxwidgets on osx if it's not cached. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6cd44ea7f2 Playing around with compiler setups 2018-07-11 22:14:51 -05:00
Joseph Lenox
687a814c11 push CXX and CC to a subscript. 2018-07-11 22:14:51 -05:00
Joseph Lenox
afaf0889e7 Oops, forgot a ] 2018-07-11 22:14:51 -05:00
Joseph Lenox
26f875f161 try to build on both linux and osx with travis 2018-07-11 22:14:51 -05:00
Joseph Lenox
28881f8741 put the dc on the stack so it gets destroyed instead of on the heap. 2018-07-11 22:14:51 -05:00
Joseph Lenox
41648ef7e2 call Realize() function on toolbar. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5cdc039d9f Abort arrange if no objects in plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2357565e9f Stubbed undo ops for increase/decrease. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5b29eea6d4 Add loaded objects to the Slic3r::Print reference. 2018-07-11 22:14:51 -05:00
Joseph Lenox
50345c3412 Implemented increase/decrease for instances. 2018-07-11 22:14:51 -05:00
Joseph Lenox
035ce47c4e Removed useless tooltip id 2018-07-11 22:14:51 -05:00
Joseph Lenox
ba483a7b07 Added std::string versions of error and info to Slic3r::Log 2018-07-11 22:14:51 -05:00
Joseph Lenox
d34d0ea6ea Throw a custom exception if Print::delete_object() gets an out-of-range identifier. 2018-07-11 22:14:51 -05:00
Joseph Lenox
d56ce183a4 Stubbed out toolbar with calling functions; Add, Delete, and Delete All work.
Plater object got a move constructor.
2018-07-11 22:14:51 -05:00
Joseph Lenox
b39edcde3f Stubbed out toolbar button graphics. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2bdf87b926 Cleaned up header for Plate2D.hpp; added comments. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8597ec9511 Forgot to check in a } 2018-07-11 22:14:51 -05:00
Joseph Lenox
471983d63a Draw skirt on 2D plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
0726e896ce Draw clearance area if necessary. 2018-07-11 22:14:51 -05:00
Joseph Lenox
50f1b40fa2 Implemented keyboard nudge in 2D plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ccd49dcb69 Remembered to bind the right click mouse events, moved the associated comment.
capture [this] instead of [=] for lambdas.
2018-07-11 22:14:51 -05:00
Joseph Lenox
427c7c7027 Assign on_instances_moved and put a try/catch to not crash if it accidentally gets called while uninitialzed. 2018-07-11 22:14:51 -05:00
Joseph Lenox
5dc9fa1751 Comment update to be more clear as to what is going on 2018-07-11 22:14:51 -05:00
Joseph Lenox
249b319723 Use wxDateTime::Now() to initialze current date instead of default constructor (avoid runtime errors) 2018-07-11 22:14:51 -05:00
Joseph Lenox
5938a5bf4c 2D Plater: Added double-click handler. 2018-07-11 22:14:51 -05:00
Joseph Lenox
f8827b392d 2D Plater: Change cursor to hand cursor when over selectable items. Includes function to check if any instance in a PlaterObject includes a point (makes logic much more readable). 2018-07-11 22:14:51 -05:00
Joseph Lenox
56a9915e62 Mostly implemented mouseup on 2D player.
Someting through on_instances_moved causes an uncaught exception.
2018-07-11 22:14:51 -05:00
Joseph Lenox
9c02f3ab80 Set some default values. 2018-07-11 22:14:51 -05:00
Joseph Lenox
7be26f0dd3 2D click and drag functions now like in perl side. 2018-07-11 22:14:51 -05:00
Joseph Lenox
3e0e52bb1d Removed dead code and a spammy log message. 2018-07-11 22:14:51 -05:00
Joseph Lenox
73ee990e45 Cleaned up a pointless statement warning. 2018-07-11 22:14:51 -05:00
Joseph Lenox
87dadc9815 Object selection now functions on 2D plater. 2018-07-11 22:14:51 -05:00
Joseph Lenox
e8f9940062 Use correct range for range check on iterator. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ef0dd3c7c9 Set typedef (via using directive) for object references (iterators) and object indices. 2018-07-11 22:14:51 -05:00
Joseph Lenox
ac7c93850a Moved assignable methods to std::function objects. 2018-07-11 22:14:51 -05:00
Joseph Lenox
27e4e4b8b5 stubbed methods to fire object_settings_dialog, retrieve the current selected object, etc. 2018-07-11 22:14:51 -05:00
Joseph Lenox
524ef920a6 be a little smarter about converting things (avoids confusing mingw 7.3) 2018-07-11 22:14:51 -05:00
Joseph Lenox
24bc7c28aa Define wxGTK as false under win32 or osx 2018-07-11 22:14:51 -05:00
Joseph Lenox
6aa0f4c442 Set the bitmap type (needed for wxMSW) and check that the load happens before trying to use it. 2018-07-11 22:14:51 -05:00
Joseph Lenox
6f924a09df Fix some linking under MinGW. 2018-07-11 22:14:51 -05:00
Joseph Lenox
1f82f74799 made SLIC3R_STATIC a -D option instead of environment var 2018-07-11 22:14:51 -05:00
Joseph Lenox
375663c381 Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs. 2018-07-11 22:14:51 -05:00
Joseph Lenox
bb615f5414 Fix typo in drag_start_pos assignment. 2018-07-11 22:14:51 -05:00
Joseph Lenox
deb0bf4185 Utility function for generating scaled points from wxPoints. 2018-07-11 22:14:51 -05:00
Joseph Lenox
0b978b34aa added a little bit of whitespace to Plater.hpp 2018-07-11 22:14:51 -05:00
Joseph Lenox
8ae3140ef0 use wxID_ANY instead of -1 for calling preview notebook 2018-07-11 22:14:51 -05:00
Joseph Lenox
68edec4fea More documentation of Plater methods. 2018-07-11 22:14:51 -05:00