Fix bug in ISceneNode::deserializeAttributes which did set scale to 0 when no attribute was given.
Was using the wrong variable (RelativeRotation instead of RelativeScale) as default value. This was also not working in older Irrlicht versions, but can't be fixed there as those had no default parameters for getAttribute yet. This allows for example to load .irr files created with new CopperCube while setting a parent-node (some attributes will still be ignored as .irr files always expect the scene itself as parent, that would need some special SceneNode type to work around). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5081 dfc29bdd-3216-0410-991c-e03cc46cb475
Showing
Please register or sign in to comment