Commit graph

1261 commits

Author SHA1 Message Date
Leonardo Zide
7de5d4eb22 Renamed view class. 2020-12-25 10:54:33 -08:00
Leonardo Zide
939e80ab4b Renamed view files. 2020-12-25 10:43:22 -08:00
Leonardo Zide
620ac457e5 Merged View and lcGLWidget. 2020-12-25 10:37:59 -08:00
Leonardo Zide
56daed4182 Removed OnInitialUpdate. 2020-12-24 17:14:36 -08:00
Leonardo Zide
c8eebe5d77 Detect files that have Name or Author on the first line. Fixes #568. 2020-12-24 12:10:47 -08:00
Leonardo Zide
e27b235936 Derive preview from view. 2020-12-24 11:32:56 -08:00
Leonardo Zide
72bb41e8aa Added shortcut to toggle the grid. 2020-12-23 19:10:54 -08:00
Leonardo Zide
95bf7e43ff Rotate view around the minifig center. 2020-12-23 18:45:34 -08:00
Leonardo Zide
bcfbaa3080 Crash fix. 2020-12-23 18:30:01 -08:00
Leonardo Zide
2718a4253c Cleanup. 2020-12-23 18:16:00 -08:00
Leonardo Zide
0282a88c87 Sort part counts numerically. 2020-12-23 18:07:12 -08:00
Leonardo
9f5782294e Fixed view preferred size. 2020-12-21 17:34:42 -08:00
Leonardo Zide
aa1d802c04 Removed strlwr. 2020-12-20 12:06:14 -08:00
Leonardo Zide
d1991b9264 Moved Minifig Dialog. 2020-12-20 11:24:50 -08:00
Leonardo Zide
f5ddd46776 Flush text stream before writing. Fixes #562. 2020-12-20 11:13:57 -08:00
Leonardo Zide
95bdf1a615 Fixed minifig wizard not updating. 2020-12-19 18:51:54 -08:00
Leonardo Zide
546ab19785 Cleanup. 2020-12-19 16:13:25 -08:00
Leonardo Zide
b77210db22 Use a regular View for the Minifig Wizard. 2020-12-19 16:05:29 -08:00
Raymond S Brand
fd24accea7 Fix warnings 2020-12-19 14:48:06 -08:00
Leonardo Zide
84af94164d Fixed warnings. 2020-12-19 11:12:31 -08:00
Leonardo Zide
228d17bd28
Merge pull request #559 from j6t/master
Small code modernization around file handling during parts loading.
2020-12-19 09:55:29 -08:00
Johannes Sixt
b176cb421b Keep ZIP file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
ac9954972d Pass file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
f3683ee93e Remove unused parts library pathname member variables. 2020-12-19 10:52:57 +01:00
Leonardo Zide
e5a8eebdb8 Try to place new pieces near existing parts or the origin #548. 2020-12-18 19:13:03 -08:00
Leonardo Zide
1925c476d6 Show more models in the menu. Fixes #558. 2020-12-18 16:34:11 -08:00
Leonardo Zide
baa0a70de2 Refactored duplicate code. 2020-12-18 12:15:35 -08:00
Leonardo Zide
dcf8ddfd95 Crash fix restoring layout. 2020-12-18 11:04:16 -08:00
Raymond S Brand
34d61040f6 Add invocation option parameter checks 2020-12-18 10:51:24 -08:00
Leonardo
a492a935b6 Renamed lcQGLWidget to lcViewWidget. 2020-12-17 17:59:11 -08:00
Leonardo Zide
25d3bd63cd Merge branch 'master' of https://github.com/leozide/leocad 2020-12-16 15:16:17 -08:00
Leonardo
6c6c5c8f6d Update focus view correctly. 2020-12-16 10:28:43 -08:00
Leonardo
348b83155e Fixed warnings. Fixes #467. 2020-12-16 10:00:31 -08:00
Leonardo
6a48e8ddc8 Fixed warnings. 2020-12-16 09:41:19 -08:00
Leonardo Zide
dac9b599a5 Replaced includes with forward declares. 2020-12-15 18:47:58 -08:00
Leonardo Zide
c2d1b5ce7c Use events for view focus changes. 2020-12-15 18:27:54 -08:00
Leonardo Zide
de29c49608 Reorganized redraw. 2020-12-15 17:19:32 -08:00
Leonardo Zide
a0385a3783 Merged menu update functions. 2020-12-15 10:20:14 -08:00
Leonardo Zide
71ea45f085 Updated deprecated functions. 2020-12-14 15:08:43 -08:00
Leonardo Zide
3eec496047 Warning fixes. 2020-12-14 14:18:06 -08:00
Raymond S Brand
2ac471cca8 Add invocation option syntax checking 2020-12-14 14:16:20 -08:00
Leonardo Zide
86ef52e403 Added --camera-position-ldraw. 2020-12-13 18:23:52 -08:00
Leonardo Zide
581c4ce523 Compile fix. 2020-12-13 17:14:33 -08:00
Leonardo Zide
9a7e256c72 Set fov and clip planes before viewpoint so zoom extents is correct. 2020-12-13 17:10:25 -08:00
Leonardo Zide
fd92710cf8 Compile fix. 2020-12-13 17:05:27 -08:00
Leonardo Zide
65ef0d3b77 Compile fix. 2020-12-13 16:53:49 -08:00
Leonardo Zide
336afdba8a QString fix. 2020-12-13 16:30:01 -08:00
Leonardo Zide
2d7aba8895 Use QString for object names. 2020-12-13 16:27:21 -08:00
Leonardo Zide
1012fc20cd Cleanup. 2020-12-13 12:05:54 -08:00
Leonardo Zide
05963fc8b0
Merge pull request #549 from j6t/master
Work around ambiguous operator== reported by modern clang.
2020-12-13 10:34:47 -08:00