--- Editor/AnimationContext.cpp +++ Editor/AnimationContext.cpp @@ -612,7 +612,7 @@ void CAnimationContext::UpdateAnimatedLights() return; std::vector entityObjects; - GetIEditor()->GetObjectManager()->FindObjectsOfType(entityObjects); + GetIEditor()->GetObjectManager()->FindObjectsOfType(&CEntityObject::staticMetaObject, entityObjects); std::for_each(std::begin(entityObjects), std::end(entityObjects), [this](CBaseObject *pBaseObject) {