Commit Graph
160 Commits
Author SHA1 Message Date
Leonardo Zide f99e6d7583 Fixed warnings. 2019-03-11 18:29:19 -07:00
Leonardo Zide 32aceb19a2 Lowered mouse sensitivity. Fixes #296. 2019-02-28 16:12:18 -08:00
Leonardo Zide 8f59a67924 Detach camera when diving into a submodel. 2019-02-09 16:30:11 -08:00
Leonardo Zide b77b9aac5c Replaced view cube with a sphere. 2018-10-28 17:59:01 -07:00
Leonardo Zide 58c63982d2 Renamed in-place editing options. 2018-10-14 08:47:28 -07:00
Leonardo Zide 149df626b6 Added option to go back to editing the top submodel. 2018-10-13 16:45:14 -07:00
Leonardo Zide f507e08cde Fixed wrong cursor when the mouse is over the view cube and other objects at the same time. 2018-09-19 12:56:45 -07:00
Leonardo Zide 39ff605c8b Switch to camera orbit when dragging the view cube. 2018-09-11 16:36:10 -07:00
Leonardo Zide 45124f3f4f Fixed inverted position when clicking on the view cube. 2018-09-11 13:34:59 -07:00
Leonardo Zide 4aa2cbeeb6 First pass view cube. 2018-08-19 20:28:04 -07:00
Leonardo Zide 7f6a7d82ae Submodel edit mouse fixes. 2018-04-07 18:45:44 -07:00
Leonardo Zide 752ae54788 Fixed interface draw location in active submodels. 2018-04-07 17:17:32 -07:00
Leonardo Zide 760d14c6e4 Fixed not being able to dive into a nested submodel. 2018-04-07 15:49:03 -07:00
Leonardo Zide 718b31a2bd Fixed selection tinting when editing submodels. 2018-04-07 11:45:00 -07:00
Leonardo Zide b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide 232ece5e6b Only check QGLFormat::samples when sampleBuffers is enabled. Fixes #196. 2018-02-24 18:22:53 -08:00
Leonardo Zide 856d0e10d5 Fixed camera menu not updating when selecting a viewpoint and the active view has a camera. 2018-02-17 17:32:07 -08:00
Leonardo Zide 769b80b22d Support dragging colors from the color palette to paint pieces. Closes #177. 2018-01-12 10:50:25 -08:00
Leonardo Zide 752ee5c4e7 Prevent mouse shortcuts from overriding overlay actions. Fixes #180. 2018-02-06 14:47:11 -08:00
Leonardo Zide 8334f2d877 Moved axis icon to keep it in view. Fixes #168. 2018-02-06 11:31:05 -08:00
Leonardo Zide 0621a3848f Fixed pan not working when the center of the model is behind the camera. Fixes #161. 2018-02-04 11:53:13 -08:00
Leonardo Zide 7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
Leonardo Zide dff8aac29b Restore last tab layout when loading a file. 2018-01-06 15:01:04 -08:00
Leonardo e097ad630b Fixed tiled render math. Fixes #156. 2018-01-04 10:22:57 -08:00
Leonardo e4b759009f Use smaller tiles when saving images with MSAA. Fixes #154. 2018-01-01 07:56:25 -08:00
Leonardo 50b3e95215 Reuse the same FBO when creating new preview images. 2017-12-29 06:50:18 -08:00
Leonardo 804e0f6f53 Save MSAA images. Fixes #101. 2017-12-26 10:19:20 -08:00
leozide 2d538390d3 Added --camera-angles command line option. Closes #147. 2017-12-13 17:36:35 -08:00
Leonardo Zide 636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide 6878d0157f Support selection mode on all selection tools. 2017-11-21 22:54:49 -08:00
leozide 848cdd9daf Added piece selection modes. 2017-11-21 17:58:36 -08:00
leozide 696189e171 Added Shift+LMB shortcut to remove selection. 2017-11-20 15:12:00 -08:00
Leonardo Zide 80c226db56 Fixed multiple selection. 2017-11-19 13:27:42 -08:00
leozide 2b14b67eb1 Added Tools submenu. 2017-11-14 14:56:37 -08:00
leozide 846a2ac610 Fixed new move tool. 2017-11-13 12:47:35 -08:00
leozide 2e6fbd0679 Fixed crash using the old move tool. 2017-11-13 11:16:29 -08:00
Leonardo Zide 470be6b7a9 New piece free movement mode. 2017-11-12 19:38:07 -08:00
leozide fb62beb933 Added Shading and Projection to context menu. Closes #128. 2017-10-31 12:33:35 -07:00
leozide bc327a3b00 Fixed relative snap when adding pieces with the mouse. 2017-09-08 14:11:48 -07:00
Leonardo Zide 4bf4f14d4e Fixed zfar during tiled render. 2017-08-05 12:12:42 -07:00
Leonardo Zide 51afa3acde Merged TiledRender into the View class. 2017-08-05 12:02:45 -07:00
Leonardo Zide 02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -07:00
Leonardo Zide f024007157 Keep camera name as a c string for now. 2017-06-20 21:43:39 -07:00
Alistair Buxton 240c8f68a5 Add command line options to set submodel and camera. 2017-06-20 21:25:27 -07:00
Leonardo Zide 05104162e9 Only highlight new pieces when the option is enabled. 2017-06-20 08:20:59 -07:00
Alistair Buxton 2de2e2c187 Highlight parts added in the current step. 2017-06-20 07:47:31 -07:00
leozide 8da318037d Removed fog options. 2017-04-21 14:17:03 -07:00
Johannes Sixt 2448a47071 Fortify against random control points in imported files.
It can happen (accidentally or maliciously) that control points are
imported from a file for pieces that cannot be synthesized. In such a case,
a click on the control point indicator leads to a NULL pointer access.
Insert checks so that the click is effectively ignored.
2017-04-15 16:41:32 +02:00
leozide d0de0fbf65 Removed deprecated header. 2017-04-14 18:14:16 -07:00
leozide f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00