Commit 38fd0036 authored by cutealien's avatar cutealien

Bugfix: Cloning CBillboardSceneNode now copies colors and sizes.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4940 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3dc833cc
--------------------------
Changes in 1.9 (not yet released)
- Bugfix: Cloning CBillboardSceneNode now copies colors and sizes.
- EditBox works now with numpad on X11
- Added helper functions for converting between wchar and utf-8. Patch provided by Hendu.
- Added sphere frustum culling support. Patch provided by Hendu.
......
......@@ -281,8 +281,13 @@ ISceneNode* CBillboardSceneNode::clone(ISceneNode* newParent, ISceneManager* new
nb->cloneMembers(this, newManager);
nb->Material = Material;
nb->Size = Size;
nb->TopEdgeWidth = this->TopEdgeWidth;
video::SColor topColor,bottomColor;
getColor(topColor,bottomColor);
nb->setColor(topColor,bottomColor);
if ( newParent )
nb->drop();
return nb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment