View Issue Details

IDProjectCategoryView StatusLast Update
0005766The Dark ModDesign/Codingpublic30.09.2021 09:40
Reporterstgatilov Assigned Tostgatilov  
Status assignedResolutionopen 
Product VersionTDM 2.10 
Target VersionTDM 2.11 
Summary0005766: Support overriding individual decls in FM
DescriptionWhen mappers create their FMs, they can override (i.e. completely replace) any core file with their own --- just give it the same name+path.

Also mappers assume that they can override single decl (e.g. material or entityDef) in their own files.
But this is not true: right now it gives a warning, and does not work as intended.
If several files define a decl with same name, which one will win depends on lexicographical order of file paths.

One severe problem caused by this limitation is that it is hard to integrate decls from FMs into core.
Usually when someone imports author's material, he finds proper place for it in the core .mtr files.
Then the source FM starts giving a warning.
When someone changes the imported decl in core in the future, it is uncertain whether FM is affected by these changes or not.
Additional InformationInternal discussion here:
TagsNo tags attached.


related to 0005170 assignedstgatilov Fix console warnings 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
30.09.2021 09:40 stgatilov New Issue
30.09.2021 09:40 stgatilov Status new => assigned
30.09.2021 09:40 stgatilov Assigned To => stgatilov
30.09.2021 09:40 stgatilov Relationship added related to 0005170