Fixed a performance bug in ISceneNode constructor reported by izhbq412
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1237 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
6f4a9f921a
commit
daedda8523
|
@ -1,5 +1,7 @@
|
|||
Changes in version 1.5 (... 2008)
|
||||
|
||||
- Fixed a performance bug in ISceneNode constructor reported by izhbq412
|
||||
|
||||
- Added volume light scene node
|
||||
|
||||
- Better fix for hires timers on dual core machines by RogerBorg
|
||||
|
|
|
@ -40,12 +40,12 @@ namespace scene
|
|||
const core::vector3df& rotation = core::vector3df(0,0,0),
|
||||
const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f))
|
||||
: RelativeTranslation(position), RelativeRotation(rotation), RelativeScale(scale),
|
||||
Parent(parent), ID(id), SceneManager(mgr), TriangleSelector(0),
|
||||
Parent(0), ID(id), SceneManager(mgr), TriangleSelector(0),
|
||||
AutomaticCullingState(EAC_BOX), IsVisible(true),
|
||||
DebugDataVisible(EDS_OFF), IsDebugObject(false)
|
||||
{
|
||||
if (Parent)
|
||||
Parent->addChild(this);
|
||||
if (parent)
|
||||
parent->addChild(this);
|
||||
|
||||
updateAbsolutePosition();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue