From 51f1ff6716918f45c08d321b6ddd047e65d962ab Mon Sep 17 00:00:00 2001 From: cutealien Date: Thu, 29 Sep 2022 19:03:51 +0000 Subject: [PATCH] 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 --- include/ISceneNode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ISceneNode.h b/include/ISceneNode.h index d6cdc702..61656b66 100644 --- a/include/ISceneNode.h +++ b/include/ISceneNode.h @@ -50,7 +50,7 @@ namespace scene const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f)) : RelativeTranslation(position), RelativeRotation(rotation), RelativeScale(scale), 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), IsVisible(true), IsDebugObject(false) { @@ -769,7 +769,7 @@ namespace scene scene::AutomaticCullingNames); if (tmpState != -1) AutomaticCullingState = (u32)tmpState; - else + else AutomaticCullingState = in->getAttributeAsInt("AutomaticCulling"); }