Commit graph

1450 commits

Author SHA1 Message Date
Leonardo Zide
c8bd036236 Fixed texture upload from worker threads. 2021-03-13 14:09:08 -08:00
Leonardo Zide
a5a794d3fc Set texture unit 0 for all textures. 2021-03-13 11:40:33 -08:00
Leonardo Zide
f789dd21df Read official files before unofficial files.
This is for consistency with other tools #652.
2021-03-13 10:51:35 -08:00
Johannes Sixt
19bc2f4f90 Fix check for type of mesh index.
The index type does not only depend on the number of geometry vertices,
but also on the number of conditional line vertices. Check the stored
type, not the number of vertices.
2021-03-13 11:59:57 +01:00
Leonardo Zide
233affe3fc Moved global resource creation to startup instead of context creation. Fixes #645. 2021-03-10 21:22:41 -08:00
Leonardo Zide
44d0e92b50 Crash fix. Fixes #648. 2021-03-10 16:10:24 -08:00
Leonardo Zide
5065dcac74 Fixed vertex attribute bindings for the conditional shader. 2021-03-10 13:30:41 -08:00
Hubert Figuière
064c815360 CurrentWidth can be MaxWidth.
Fix instructions hanging when there is a 16 x 16 plate
Closes #649
2021-03-10 00:00:01 -05:00
Leonardo Zide
de3a3adf34 Fixed wrong function call. 2021-03-07 16:07:43 -08:00
Leonardo Zide
4a50ac69a9 Fixed conditional line color. 2021-03-07 11:05:44 -08:00
Leonardo Zide
4f53004aae Disable conditional lines when shaders are not available. 2021-03-07 11:04:53 -08:00
Leonardo Zide
3e84285f40 Refactored bounding box calculation. 2021-03-07 10:14:48 -08:00
Leonardo Zide
b7740d9db1 Don't look for duplicate conditional verts. 2021-03-07 09:57:17 -08:00
Leonardo Zide
b2880731db Added conditional lines option. 2021-03-07 09:53:35 -08:00
Leonardo Zide
c3ad14ac04 Conditional line shader. 2021-03-06 18:54:24 -08:00
Leonardo Zide
cf664584c6 Fixed conditional lines math. 2021-03-06 10:08:36 -08:00
Leonardo Zide
6117c7de88 Crash fix. 2021-03-01 17:21:13 -08:00
Leonardo Zide
140daced93 Added model measurements. Fixes #631. 2021-02-28 15:57:02 -08:00
Leonardo Zide
d0404d9fbb gcc fix. 2021-02-28 13:11:54 -08:00
Leonardo Zide
27734f2469 Moved bricklink color table to the mapping file. 2021-02-28 13:02:58 -08:00
Leonardo Zide
310504775e
Merge pull request #632 from hfiguiere/bl-export
Issue #630 - Remap element for BrickLink export
2021-02-28 11:36:13 -08:00
Leonardo Zide
7a9e193d41 View cleanup. 2021-02-28 11:32:12 -08:00
Leonardo Zide
40983db71c View cleanup. 2021-02-28 10:57:14 -08:00
Leonardo Zide
1a8e8a3abe Crash fix. 2021-02-28 10:30:26 -08:00
Hubert Figuière
6a89cdb68a Issue #630 - Detect duplicates in the list 2021-02-27 19:05:08 -05:00
Hubert Figuière
67d657e71e Issue #630 - Move the BrickLink colour table to the BrickLink export 2021-02-27 19:05:08 -05:00
Hubert Figuière
b13caa1a61 Issue #630 - Put the mapping table into a resource
- can also load from a file
2021-02-27 19:05:08 -05:00
Hubert Figuière
a344b0af6f Issue #630 - Avoid duplicate parts on output 2021-02-27 19:05:08 -05:00
Hubert Figuière
06e1552153 Issue #630 - More mappings 2021-02-27 19:05:08 -05:00
Hubert Figuière
370791e622 Issue #630 - Move the BrickLink export out 2021-02-27 19:05:08 -05:00
Hubert Figuière
08868c7cfa Issue #630 - Remap element for BrickLink export 2021-02-27 19:05:08 -05:00
Leonardo Zide
92c8bdc09a View cleanup. 2021-02-27 11:53:00 -08:00
Leonardo Zide
b057afdd63 Removed Reset Cameras. 2021-02-27 11:35:42 -08:00
Leonardo Zide
4a77391c6b Removed GetViews(). 2021-02-27 11:32:52 -08:00
Leonardo Zide
95fbc13247 Removed GetViewsForModel. 2021-02-27 11:15:04 -08:00
Leonardo Zide
4b36b90f7c Fixed view array removal loop. 2021-02-27 10:46:10 -08:00
Hubert Figuière
cd68bb16a5 Remove views in destructor
- This avoid a use-after-free when the view remove itself in its dtor
2021-02-26 22:28:56 -05:00
Leonardo Zide
ff13fd90db Fixed LightDarkControl. 2021-02-15 10:43:23 -08:00
Leonardo Zide
b99724c7b0 Don't try to change the file extension to mpd. Fixes #451. Fixes #616. Fixes #462. 2021-02-07 13:44:59 -08:00
Leonardo Zide
98f2679cb2 Fixed light/dark color index conversion. 2021-02-07 12:59:22 -08:00
Leonardo Zide
d84b7711fd Added option to paste keeping the original steps. Fixes #612. 2021-02-07 10:48:23 -08:00
Leonardo Zide
0784a2133a
Merge pull request #621 from trevorsandy/AUTOMATE_EDGE_COLOURS
Use saturated part colour when calculating edge colour
2021-02-07 10:15:24 -08:00
Leonardo Zide
82e3bf557a Keep edge color math in linear space. 2021-02-07 10:14:54 -08:00
Leonardo Zide
9e1a8fd559 Added replace icons. 2021-02-03 19:23:38 -08:00
Leonardo
48347ea371 Ignore part settings from the previous step. Fixes #602. 2021-02-03 14:49:07 -08:00
Leonardo
55384a3c35 Fixed crash loading invalid lcd file. Fixes #617. 2021-02-03 14:24:22 -08:00
Trevor SANDY
aa1fa3ea77 Disable saturation adjust 2021-02-03 15:30:18 +01:00
Trevor SANDY
dcac8b27c7 Cleanup 2021-02-03 15:29:55 +01:00
Trevor SANDY
87c23a6d21 Use saturated part colour when calculating edge colour 2021-02-02 18:35:24 +01:00
Leonardo
f033578abc Keep find next working after closing the find widget. 2021-02-01 14:12:03 -08:00