diff --git a/changes.txt b/changes.txt index d8b57594..354f0fce 100644 --- a/changes.txt +++ b/changes.txt @@ -1,6 +1,7 @@ -------------------------- 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. diff --git a/source/Irrlicht/CBillboardSceneNode.cpp b/source/Irrlicht/CBillboardSceneNode.cpp index 3d157ea0..a4fc8271 100644 --- a/source/Irrlicht/CBillboardSceneNode.cpp +++ b/source/Irrlicht/CBillboardSceneNode.cpp @@ -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;