mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-13 03:03:51 +01:00
Avoid newly introduced reorder warnings in ISceneNode
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6433 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
b627ce805d
commit
51f1ff6716
@ -50,7 +50,7 @@ namespace scene
|
|||||||
const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f))
|
const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f))
|
||||||
: RelativeTranslation(position), RelativeRotation(rotation), RelativeScale(scale),
|
: RelativeTranslation(position), RelativeRotation(rotation), RelativeScale(scale),
|
||||||
Parent(0), SceneManager(mgr), TriangleSelector(0), ID(id),
|
Parent(0), SceneManager(mgr), TriangleSelector(0), ID(id),
|
||||||
AutomaticCullingState(EAC_BOX), UpdateAbsolutePosBehavior(ESNUA_TRANSFORM_MATRIX),
|
UpdateAbsolutePosBehavior(ESNUA_TRANSFORM_MATRIX), AutomaticCullingState(EAC_BOX),
|
||||||
DebugDataVisible(EDS_OFF),
|
DebugDataVisible(EDS_OFF),
|
||||||
IsVisible(true), IsDebugObject(false)
|
IsVisible(true), IsDebugObject(false)
|
||||||
{
|
{
|
||||||
@ -769,7 +769,7 @@ namespace scene
|
|||||||
scene::AutomaticCullingNames);
|
scene::AutomaticCullingNames);
|
||||||
if (tmpState != -1)
|
if (tmpState != -1)
|
||||||
AutomaticCullingState = (u32)tmpState;
|
AutomaticCullingState = (u32)tmpState;
|
||||||
else
|
else
|
||||||
AutomaticCullingState = in->getAttributeAsInt("AutomaticCulling");
|
AutomaticCullingState = in->getAttributeAsInt("AutomaticCulling");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user