diff --git a/OgreMain/src/OgreStaticGeometry.cpp b/OgreMain/src/OgreStaticGeometry.cpp index a5be9967e3c..c4f32ab0aff 100644 --- a/OgreMain/src/OgreStaticGeometry.cpp +++ b/OgreMain/src/OgreStaticGeometry.cpp @@ -491,6 +491,12 @@ namespace Ogre { //-------------------------------------------------------------------------- void StaticGeometry::addSceneNode(const SceneNode* node) { + if(node->getCreator()->getRootSceneNode()->_getFullTransform() != Affine3::IDENTITY) + { + // otherwise it is applied twice + LogManager::getSingleton().logError("StaticGeometry - Root SceneNode transform must be IDENTITY"); + } + for (auto mobj : node->getAttachedObjects()) { if (mobj->getMovableType() == "Entity")