[FIXED: 3.3.2] AttachedMesh castDynamicShadows property save is broken



Users browsing this forum: No registered users and 1 guest

Next topic
Previous topic
Post new topic Reply to topic  NeoAxis Forum Index » General » Bugs
Search for:
Author Message

Joined: Thu Feb 03, 2011
Posts: 1306
PostPosted: Tue Apr 21, 2015 10:47 am Post subject: [FIXED: 3.3.2] AttachedMesh castDynamicShadows property save is broken
Reply with quote Bottom of Page Back to top
castDynamicShadows default value is true

saving code is
Code: Select all   Expand view
 if (this.aiv)
        block.SetAttribute("castDynamicShadows", this.aiv.ToString());

it can be interpreted as
Code: Select all   Expand view
 if (this.castDynamicShadows)
        block.SetAttribute("castDynamicShadows", this.castDynamicShadows.ToString());


so when saving, if not default value we don't save... when loading: no value ==> we have default value..

i don't know what changes were made on this one .. changing default value ? it's not even on the changelog ... i spend days to understand why our light where turning of..

that screw up all our assert, we need to check one by one all attached meshes on all types..

i higly sugesst to add an option "save field values even if default value" or something, so we can be sure what he had before updating to new version is what we will have after.. migrating to newer verison isn't always easy, so if even it screw up everything it's not cool at all ..

 
 Profile  

Joined: Thu Feb 03, 2011
Posts: 1306
PostPosted: Tue May 05, 2015 9:39 am 
Reply with quote Bottom of Page Back to top
Just to update the topic, this has been fixed in 3.3.2 ! http://www.neoaxis.com/support/changelog (download)

 
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  NeoAxis Forum Index » General » Bugs

Jump to:  

Next topic
Previous topic
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 post attachments in this forum

cron

All times are UTC




Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group