Commit graph

199 commits

Author SHA1 Message Date
Leonardo Zide
489f5e6f7e Merged DrawViewport(). 2020-12-11 18:01:04 -08:00
Leonardo Zide
e52ea0ab63 Added LC_ARRAY_SIZE_CHECK for static array checks. 2020-12-06 11:26:55 -08:00
Leonardo Zide
c6c0718d18 Hide cursor while dragging. 2020-12-06 11:15:23 -08:00
Leonardo Zide
b981de80c5 Widget merge. 2020-12-06 10:52:57 -08:00
Leonardo Zide
28ccd8f681 Widget merge. 2020-12-05 12:17:09 -08:00
Leonardo Zide
60a0f9190d Widget merging. 2020-12-05 11:02:10 -08:00
Leonardo Zide
a9fac6110b Inlined lcInputState. 2020-12-05 08:45:29 -08:00
Leonardo
7b320edc7a Scoped lcTrackTool. 2020-12-04 16:06:39 -08:00
Leonardo
366018ee8c Scoped lcTool. 2020-12-04 15:38:49 -08:00
Leonardo
256d3792b1 Widget cleanup. 2020-12-04 12:49:01 -08:00
Leonardo Zide
9e12b480ce Moved DrawBackground to lcGLWidget. 2020-11-26 12:07:41 -08:00
Leonardo Zide
0b4984672d Fixed selection/zoom region not being drawn in some cases. Fixes #491. 2020-08-23 10:16:54 -07:00
Leonardo Zide
0828fd1e2c Added mesh LOD distance option. 2020-08-15 16:16:26 -07:00
Leonardo Zide
3903e905fe Dark color theme. 2020-07-25 13:21:22 -07:00
Leonardo Zide
0cead36c7f Added option to select the overlay and axis colors. Fixes #464. 2020-07-11 10:47:52 -07:00
Leonardo Zide
acd7dd3f9a Allow highlight color to be set by the user. 2020-04-25 11:36:28 -07:00
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
ade7334fa1 Support up to 10 control points and prevent the user from adding more. 2020-03-22 11:12:15 -07:00
Leonardo Zide
85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -08:00
Leonardo Zide
e9c38e4f39 Added scoped enums. 2020-02-15 11:36:06 -08:00
Leonardo Zide
e5d06a29a2 Renamed pipette to color picker and fixed indentation. 2020-02-15 11:14:12 -08:00
RenateZwei
aa3ead6504
Added color picker (#446)
Added color picker
2020-02-15 10:59:14 -08:00
Leonardo Zide
bee37f0bc6 Fixed incorrect bounding box drawing when dragging a new submodel. 2020-02-01 11:42:22 -08:00
Leonardo Zide
fb7f952e98 Fixed a case where drag and drop a submodel didn't do anything. 2020-02-01 11:34:56 -08:00
Leonardo Zide
60aca425a0 Fixed crash using undo while dragging a new part. 2020-02-01 10:58:19 -08:00
Leonardo Zide
d626048a64 Fixed view not refreshing after cancelling a drop. 2020-02-01 10:42:29 -08:00
Leonardo Zide
cbf534fcdf Added option to fade previous steps. 2020-01-01 17:06:17 -08:00
Leonardo Zide
9c3505b628 Fixed in place editing. 2019-12-12 14:04:51 -08:00
Leonardo Zide
e9cdeed008 Sort piece insert preview with the rest of the scene. 2019-11-30 12:19:13 -08:00
Leonardo Zide
2bd9b837dc Always draw grid between opaque and translucent meshes. Fixes #399. 2019-11-30 11:38:11 -08:00
Leonardo Zide
0ecc4b5966 Added option to disable mesh LOD. Closes #400. 2019-11-28 12:47:19 -08:00
Leonardo Zide
33caa613e7 Enabled alpha test when drawing grid studs. 2019-11-17 11:17:51 -08:00
Leonardo Zide
081373742e Translucent mesh sorting fixes and improvements. 2019-11-16 12:15:49 -08:00
Leonardo Zide
5854cfce89 Added wrapper for glDepthMask. 2019-11-09 18:11:25 -08:00
Leonardo Zide
1fef25a740 Added distance parameter to SetAngles. 2019-08-15 17:41:32 -07:00
Leonardo Zide
ab94e51cf3 Keep the current camera settings when switching to a preset viewpoint. 2019-08-11 11:38:46 -07:00
Leonardo Zide
44bdb22a5b Try to add lights and cameras near the center of the model. 2019-08-10 12:31:28 -07:00
Leonardo Zide
6681986517 Delete popup menus after they are shown. 2019-06-23 13:15:12 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
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