View Issue Details

IDProjectCategoryView StatusLast Update
0005590DarkRadiantModelspublic27.11.2021 09:20
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.12.0 
Target Version2.12.0Fixed in Version2.12.0 
Summary0005590: ASE import failure loading models/darkmod/nature/flowers/flowers_patch_01.ase
DescriptionAs the title says, this model used to work normally before.
TagsNo tags attached.

Activities

greebo

greebo

15.04.2021 17:20

administrator   ~0013855

Obviously, this material has a misleading *MATERIAL_COUNT of 3 defined in the MATERIALS block - it's actually defining 4 materials (from 0 to 3) in the file.
The in-game ASE loader doesn't care about the count (it's ignored while parsing) and just appends every encountered material block to the list.

Related Changesets

DarkRadiant: master 0a468b1c

15.04.2021 17:28

greebo


Details Diff
0005590: Add unit test checking the ability to import an ASE with *MATERIAL_COUNT set to 3, even though its *MATERIAL_LIST contains 4 blocks. Affected Issues
0005590
mod - test/Models.cpp Diff File
mod - test/resources/tdm/test_models.pk4 Diff File

DarkRadiant: master 4b5ecaa4

15.04.2021 17:36

greebo


Details Diff
0005590: ASE importer is ignoring the *MATERIAL_COUNT now, like the engine loader Affected Issues
0005590
mod - radiantcore/model/import/AseModel.cpp Diff File
mod - test/Models.cpp Diff File

Issue History

Date Modified Username Field Change
15.04.2021 17:08 greebo New Issue
15.04.2021 17:08 greebo Status new => confirmed
15.04.2021 17:20 greebo Note Added: 0013855
15.04.2021 17:20 greebo Assigned To => greebo
15.04.2021 17:20 greebo Status confirmed => assigned
15.04.2021 17:36 greebo Changeset attached => DarkRadiant master 0a468b1c
15.04.2021 17:36 greebo Changeset attached => DarkRadiant master 4b5ecaa4
15.04.2021 17:36 greebo Status assigned => resolved
15.04.2021 17:36 greebo Resolution open => fixed
15.04.2021 17:36 greebo Fixed in Version => 2.12.0
15.04.2021 17:36 greebo Target Version => 2.12.0
27.11.2021 09:20 greebo Status resolved => closed