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-e03cc46cb475master
parent
3dc833cc80
commit
38fd003634
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue