Commit Graph

17 Commits

Author SHA1 Message Date
924b32e70a Fixed quite a few issues with the prop instance merger's logic. 2021-08-10 12:23:53 +02:00
6a4c4ad1aa Also clear the nodes if _prop_data is not valid. 2021-08-10 10:55:49 +02:00
9320f0c3c4 Reset the meshes even if _prop_data is not valid. 2021-08-10 10:53:22 +02:00
ccc94053d6 Fix ref's type. 2021-08-10 10:40:56 +02:00
8e9c865285 Fix build. 2021-08-10 10:20:27 +02:00
7c815f26b0 Removed the merge_textures property from PropInstanceMerger. 2021-08-10 10:19:03 +02:00
0d4d55278f Set up job steps in PropInstanceMerger. 2021-08-10 10:13:16 +02:00
387c6fdedd Set cache to the job and implement cache initialization for in PropInstanceMerger's _build. 2021-08-10 09:57:37 +02:00
64e6447d9c Removed the texture packer from PropInstancePropJob. The code now uses the material cache instead. 2021-08-10 09:39:18 +02:00
11b82bded3 Removed the old TexturePacker based api from PropCache. 2021-08-09 17:16:05 +02:00
fea813eae3 Renamed the PropTextureCache singleton to PropCache. 2021-08-09 15:57:21 +02:00
0eee4dba90 Cleaned up prop instance job and prop instance merger. All the necessary logic (for the time being) is there. It still needs some fixes though. 2021-05-21 15:33:29 +02:00
688499cca0 Actually queue up the job in prop instance merger. 2021-05-20 20:33:39 +02:00
a364f91bd5 Set up job's texture packer property. 2021-05-20 19:16:25 +02:00
243ddc2faf Now the prop instance job now holds an array of PropDataMeshDatas with their base transforms. Also PropInstanceMerger will now add all mesh data resources to the job when processing the prop. 2021-05-20 19:09:00 +02:00
8667cc8eaf Made prop_preprocess overrideable. 2021-04-27 16:52:36 +02:00
cbb2028d64 Split PropInstance into PropInstance and PropInstanceMerger. 2021-04-27 16:47:46 +02:00