View Issue Details

IDProjectCategoryView StatusLast Update
0005225DarkRadiantMap Editingpublic25.04.2020 09:53
ReporterDragofer Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version2.8.0 
Summary0005225: Preserve layers when importing a map
DescriptionAs per 0005175:

"Having a way to transfer objects between maps while maintaining layer assignments would actually be quite useful - I often split up my WIPs into smaller .maps for faster load times, and since I sometimes have objects assigned to multiple layers it's sometimes not easy to merge the .maps together layer-by-layer."

The approach in your comment sounds perfectly fine:
"Such an algorithm could match the layers only by their name of course, so if you happen to import a map that only incidentally has layers with a matching name, it could mess up your target map. But feel free to open another request for this, analogous to the "preserve grouping info" issue. "

So:
1) The mapper creates layers in the receiving map to match the names of those of the imported map.
2) If the algorithm finds the receiving map doesn't have layers with the same name, it creates them.
Additional InformationAs for prefabs, I don't really think layers are all that useful for them. Grouping is imo more than sufficient for keeping things organised within a prefab.
TagsNo tags attached.

Relationships

related to 0005175 closedgreebo Add Portable Map Format storing map and additional data in one single file 

Activities

greebo

greebo

25.04.2020 09:53

administrator   ~0012400

I'll generalise the description to include all types of maps, not just those saved in the portable format. It's possible to load the layer info from a .darkradiant file if it's available.

Issue History

Date Modified Username Field Change
25.04.2020 09:35 Dragofer New Issue
25.04.2020 09:35 Dragofer Relationship added related to 0005175
25.04.2020 09:50 Dragofer Additional Information Updated
25.04.2020 09:53 greebo Summary Preserve layers when importing a portable map (.mapx) => Preserve layers when importing a map
25.04.2020 09:53 greebo Note Added: 0012400
25.04.2020 09:53 greebo Status new => acknowledged