View Issue Details

IDProjectCategoryView StatusLast Update
0000228DarkRadiantMap Editingpublic15.06.2007 20:22
ReporterSneaksieDave Assigned Togreebo  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.0 
Fixed in Version0.9.1 
Summary0000228: Smart incrementing of duplicated and prefab objects and links
DescriptionWe've talked about this on the forums a lot, and it's definitely vital behavior. That said, I don't think it's been tracked yet, and it appears not to work currently.

When an item is duplicated or prefabbed, the entity names and links need to be smartly incremented. For a simple example, open torchtest.map (in the repository).

light_candleflame_moving_2 binds to candle_1

However, if you duplicate (or prefab) the item,

light_candleflame_moving_2 and light_candleflame_moving_3 now BOTH bind to candle_1

and it no longer would work correctly. The mapper would manually have to update the bind to match the new base (see also a duplication selection bug to be entered shortly, which plays a small role in this).

Considerations that come to mind are:
-incrementing properly so as to not clobber existing items (if light_11 is to be duplicated, but light_12 already exists, light_13 must be the duplicate name)
-the 'bind' property (source and destination names both)
-more?

Important note: This may be important for more than just "bind", I don't know. For example, I imagine this would also be needed for path nodes (or any logical link).
TagsNo tags attached.

Activities

greebo

greebo

24.03.2007 09:05

administrator   ~0000457

The issue with "bind" not incrementing, should be resolved now. I'm uploading a new build right now, so this can be tested. It's not unlikely that there still remain some issues, but let's see.
SneaksieDave

SneaksieDave

15.06.2007 20:22

developer   ~0000676

I think this is okay. I stressed it by both numerous duplications as well as branching off and duplicating just single parts of the bind alone, and then coming back and trying to duplicate the original pair... and it works. :)

Issue History

Date Modified Username Field Change
23.03.2007 16:00 SneaksieDave New Issue
23.03.2007 19:32 greebo Status new => confirmed
24.03.2007 07:32 greebo Status confirmed => assigned
24.03.2007 07:32 greebo Assigned To => greebo
24.03.2007 09:05 greebo Status assigned => resolved
24.03.2007 09:05 greebo Fixed in Version => latest SVN
24.03.2007 09:05 greebo Resolution open => fixed
24.03.2007 09:05 greebo Note Added: 0000457
15.06.2007 20:22 SneaksieDave Status resolved => closed
15.06.2007 20:22 SneaksieDave Note Added: 0000676
15.06.2007 20:22 SneaksieDave Fixed in Version 0.9.0 => 0.9.1