e34e36cb35
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
12 lines
486 B
Plaintext
12 lines
486 B
Plaintext
--- Editor/AnimationContext.cpp
|
|
+++ Editor/AnimationContext.cpp
|
|
@@ -612,7 +612,7 @@ void CAnimationContext::UpdateAnimatedLights()
|
|
return;
|
|
|
|
std::vector<CBaseObject*> entityObjects;
|
|
- GetIEditor()->GetObjectManager()->FindObjectsOfType<CEntityObject*>(entityObjects);
|
|
+ GetIEditor()->GetObjectManager()->FindObjectsOfType(&CEntityObject::staticMetaObject, entityObjects);
|
|
std::for_each(std::begin(entityObjects), std::end(entityObjects),
|
|
[this](CBaseObject *pBaseObject)
|
|
{
|