View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000659||DarkRadiant||Map Editing||public||30.04.2008 18:13||21.12.2010 12:18|
|Target Version||1.3.1||Fixed in Version||1.3.1|
|Summary||0000659: Prefab layer names are clobbered on load|
|Description||I was very surprised to find out that prefabs are saved with layers! :)|
However, a problem exists in that the layer names are clobbered when you load them up. For my test I did the following:
1. create 3 cubes, and 2 extra layers "1" and "2"
2. move two of the cubes to layers 1 and 2, leaving the third in default
3. save as prefab
4. create new map
5. create 2 extra layers, "a" and "b"
6. load the test prefab
While the prefab is loaded properly, and the 3 cubes are in layers, the original layer names (default, 1, 2) have been clobbered by the map layer names (default, a, b). This is not super serious, but the prefab parts are automatically assigned to the map's layers, regardless of what they are, in simple numeric order.
|Tags||No tags attached.|
|Saving layers along with prefabs is not an intended "feature", more of an accident, which will be removed sooner or later.|
When importing prefabs, any layer information is discarded during load.
When saving prefabs, a .darkradiant file is still written, I figured this might be helpful for prefab authors who might want to iterate over their exported files without losing layer info.
When distributing prefabs, the .darkradiant file is therefore to be omitted.
|30.04.2008 18:13||SneaksieDave||New Issue|
|03.05.2008 07:19||greebo||Note Added: 0001188|
|03.05.2008 07:19||greebo||Status||new => acknowledged|
|29.05.2010 18:03||greebo||Status||acknowledged => assigned|
|29.05.2010 18:03||greebo||Assigned To||=> greebo|
|29.05.2010 18:03||greebo||Target Version||=> 1.3.1|
|29.05.2010 18:04||greebo||Note Added: 0003025|
|29.05.2010 18:04||greebo||Status||assigned => resolved|
|29.05.2010 18:04||greebo||Fixed in Version||=> 1.3.1|
|29.05.2010 18:04||greebo||Resolution||open => fixed|
|21.12.2010 12:18||greebo||Status||resolved => closed|