You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please
read the bug posting guidelines first.
Virion
Competition winner
Posts: 2148 Joined: Mon Dec 18, 2006 5:04 am
Post
by Virion » Wed Aug 26, 2009 2:08 pm
i find out that fog variables do not get saved into .irr when using saveScene(). how can I add those data into my scene file when saving scene?
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Wed Aug 26, 2009 3:08 pm
I guess that this needs to be added in the serializeAttributes method. Moving to bug report so we can fix it.
Virion
Competition winner
Posts: 2148 Joined: Mon Dec 18, 2006 5:04 am
Post
by Virion » Thu Aug 27, 2009 5:09 am
and also i cant find any function that returns the fog attributes.
pc0de
Posts: 300 Joined: Wed Dec 05, 2007 4:41 pm
Post
by pc0de » Thu Oct 29, 2009 8:19 pm
In irrb I recently added exporting Blender mist (fog). After running across this post, I modified CSceneManager and CNullDriver (+ getFog()) to properly de/serialize the fog attributes.
I created a patch against 1.6 but now I'm wondering if you would prefer to have it against the trunk?
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Thu Oct 29, 2009 10:53 pm
At this point there shouldn't be too much difference for the two. So just submit it, it will be commited to trunk, though.
pc0de
Posts: 300 Joined: Wed Dec 05, 2007 4:41 pm
Post
by pc0de » Fri Oct 30, 2009 4:56 am
k, thanks.
Tracker Bug & Patch:
2889239
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Fri Oct 30, 2009 4:23 pm
Very nice patch, thanks for that. It's commited for SVN/trunk, i.e. will be part of Irrlicht 1.7