5058 Commits

Author SHA1 Message Date
Joseph Lenox
6635deeb03 make verbose to see output and move the language specifier a little further down 2018-07-11 22:14:51 -05:00
Joseph Lenox
520b2551a1 actually do functions right 2018-07-11 22:14:51 -05:00
Joseph Lenox
ea7a4e380b okay, you win this time clang 2018-07-11 22:14:51 -05:00
Joseph Lenox
e0f0e714ce fix signature 2018-07-11 22:14:51 -05:00
Joseph Lenox
212e2af210 Convert colors to base-255 2018-07-11 22:14:51 -05:00
Joseph Lenox
ffd838f3ba Fix assignment to not use copy constructor 2018-07-11 22:14:51 -05:00
Joseph Lenox
9bbee7a627 try homebrew 2018-07-11 22:14:51 -05:00
Joseph Lenox
3af915719d don't build WX if it can't be found 2018-07-11 22:14:51 -05:00
Joseph Lenox
314cc26f27 Don't leak memory on the dc 2018-07-11 22:14:51 -05:00
Joseph Lenox
7190759d9e compiler misinterprets as initializer list -.- 2018-07-11 22:14:51 -05:00
Joseph Lenox
1e352d5ac9 Less fancy. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8f3ae076f9 playing around with findwxwidgets 2018-07-11 22:14:51 -05:00
Joseph Lenox
7fcf9b65ed Avoid gcc interpreting things as initializer lists. 2018-07-11 22:14:51 -05:00
Joseph Lenox
720d4f1571 made download more flexible. 2018-07-11 22:14:51 -05:00
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