Commit graph

1256 commits

Author SHA1 Message Date
Johannes Sixt
ef33f2c59c Fix building with MinGW. (#304) 2019-02-24 14:38:58 -08:00
Leonardo Zide
2356af4049 Swapped opaque and translucent polygon offsets. 2019-02-23 11:36:22 -08:00
Leonardo Zide
0abc4a258a Enabled polygon offset (with a smaller offset) for opaque triangles so they don't z fight with lines. 2019-02-23 11:33:39 -08:00
Johannes Sixt
31703618c3 Reduce z-fighting when translucent walls are touching opaque walls. (#303)
* Move GL calls around drawing of translucent meshes to lcContext.

* Reduce z-fighting when translucent walls are touching opaque walls.

This fixes issue #301.
2019-02-23 10:56:38 -08:00
Peter Bartfai
944ffbf5e5 Fedora Qt5.x dependency added for Qt module gamepad (#265) 2019-02-23 10:50:43 -08:00
Leonardo Zide
5d06035187 Fixed bounding box calculation of parts without triangles. 2019-02-22 17:02:38 -08:00
Leonardo Zide
188860f90d Crash fix when passing a quote on the command line. 2019-02-20 16:55:46 -08:00
Leonardo Zide
b47598f651 Added synth support for Hose Flexible parts. 2019-02-20 16:52:50 -08:00
Leonardo Zide
8ee515fcc8 Added synth support for Technic Flex-System hoses. 2019-02-19 18:05:30 -08:00
Leonardo Zide
2ddb955306 Prompt before overwriting a minifig template. Closes #294. 2019-02-19 13:00:52 -08:00
Leonardo Zide
0feb64ec82 Removed Space category since it was deprecated in the latest parts update. 2019-02-18 18:53:36 -08:00
Leonardo Zide
c9d0fe8fb2 Updated minifig.ini to 2018-02. 2019-02-18 18:48:23 -08:00
Leonardo Zide
8f7f3984a7 Prompt before deleting minifig templates. Fixes #286. 2019-02-14 17:18:27 -08:00
Leonardo Zide
3128a078cb Fixed crash when deleting a submodel being edited in another view. 2019-02-09 16:43:39 -08:00
Leonardo Zide
8f59a67924 Detach camera when diving into a submodel. 2019-02-09 16:30:11 -08:00
Leonardo Zide
378ece224f Fixed compiler warnings. 2019-02-05 16:35:15 -08:00
Leonardo Zide
90b8409017 Better way of drawing the view sphere outline. 2019-01-22 14:34:44 -08:00
Leonardo Zide
dfa1a66906 Added outline to the view sphere. Closes #281. 2019-01-21 16:54:10 -08:00
Leonardo Zide
40ad756348 Added shortcut for closing the current tab. 2019-01-20 16:36:59 -08:00
Leonardo Zide
ee6ef69ede Confgurable view sphere colors. 2019-01-20 11:59:18 -08:00
Leonardo Zide
6077400b3c Round viewsphere highlight. 2019-01-19 20:04:08 -08:00
Johannes Sixt
e190900778 Convert SectionCallback to std::function<>. (#280)
This is just code hygiene. It makes the code shorter, more localized,
and more idiomatic C++.
2019-01-13 10:48:37 -08:00
Leonardo Zide
c8102034f9 Added view sphere highlight. 2019-01-12 17:43:23 -08:00
Leonardo Zide
19680a199b Moved shader code to separate files. 2018-11-22 16:13:02 -08:00
Leonardo Zide
71b5797038 Changed view sphere texture format to alpha only. 2018-11-06 13:45:14 -08:00
Leonardo Zide
7bb791e3eb Fixed dangling pointer access. Fixes #277. 2018-11-05 14:37:01 -08:00
Leonardo Zide
a10d1c1727 Create a static vertex buffer for the view sphere. 2018-11-03 17:54:32 -07:00
Leonardo Zide
8f04ccbec7 Fixed small leak merging files. Fixes #276. 2018-10-31 16:16:45 -07: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
85d97887b2 Switch back to linear filtering for text to reduce blur. 2018-09-30 15:46:35 -07:00
Leonardo Zide
bcd6ce8791 Use anisotropic for the string cache texture. 2018-09-29 19:45:21 -07:00
Leonardo Zide
8697d57e00 Fixed OpenGL ES. 2018-09-26 17:04:47 -07:00
Leonardo Zide
7be53b5a0d Fixed uninitialized variable. 2018-09-26 14:56:58 -07:00
Leonardo Zide
9811fc860e Fixed crash when gamepads are enabled. Fixes #268. 2018-09-26 14:53:50 -07:00
Leonardo Zide
5dff72cf25 Fixed compiler error. 2018-09-24 12:07:50 -07:00
Leonardo Zide
671d5fa266 Fixed fallthrough warnings. 2018-09-24 11:29:05 -07:00
Leonardo Zide
61ce943b5b Fixed Qt 4.8 errors. 2018-09-24 11:16:39 -07:00
Leonardo Zide
75ed98b88d Added string cache. 2018-09-23 19:31:33 -07:00
Peter Bartfai
91c421e68b Travis CI: adding Qt5.10 (#266) 2018-09-21 16:35:36 -07:00
Peter Bartfai
0038a5f08f Version string update (#261) 2018-09-21 12:33:32 -07:00
Peter Bartfai
7b644b0670 ArchLinux Version string update (#262) 2018-09-21 12:33:21 -07:00
Peter Bartfai
8fef000e6e ArchLinux Qt5.x dependency fix (#263) 2018-09-21 12:33:09 -07:00
Peter Bartfai
ae1112f2e3 ArchLinux build fix (#260) 2018-09-21 08:36:41 -07:00
Leonardo Zide
8b0bfc801e Fixed inconsistencies between default viewpoints and the view cube. 2018-09-19 13:19:01 -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
7ba01dbff7 Fixed view cube text alignment. 2018-09-15 17:19:09 -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