Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comments lost when Undoing

 
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Bugs
View previous topic :: View next topic  
Author Message
Spaddlewit
Member


Joined: 24 Aug 2009
Posts: 244
Location: Florida, United States

PostPosted: Thu May 26, 2011 12:17 pm    Post subject: Comments lost when Undoing Reply with quote

*) Add comments to your object
*) Do something to your object (rotate?)
*) Undo the operation
*) Comments are gone!

May need to select multiple objects and rotate, then undo to reproduce. At least that's when I notice it happening to me. It's a little challenging because I add metadata in the comments to make DeleD act like a scene graph.
Back to top
View user's profile Send private message Visit poster's website
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5322
Location: The Netherlands

PostPosted: Thu May 26, 2011 4:36 pm    Post subject: Reply with quote

When performing an action (lke rotate), DeleD copies the entire object for undo purposes. When undo'ing the action, the copied object is put back in the scene. It seems the comments aren't copied...

Interesting that you use comments for this though. I would think you'd use the Tag property instead?
_________________
Check out the gallery, our DeleD Wiki and Youtube videos!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Spaddlewit
Member


Joined: 24 Aug 2009
Posts: 244
Location: Florida, United States

PostPosted: Sat May 28, 2011 4:59 pm    Post subject: Reply with quote

Well, until just now, I thought you could only add one key/value pair per object.. oops. But the comments field also lets me use the same syntax that I use for other external files read from my program.
Back to top
View user's profile Send private message Visit poster's website
Spaddlewit
Member


Joined: 24 Aug 2009
Posts: 244
Location: Florida, United States

PostPosted: Mon May 30, 2011 6:54 pm    Post subject: Reply with quote

Also - just noticed this... when you Duplicate an object, the comments aren't copied. Not sure if this is also unintentional or not.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DeleD Community Edition Forum Index -> DeleD Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum