diff options
Diffstat (limited to 'src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp')
-rw-r--r-- | src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp b/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp index 325073d..2f336c7 100644 --- a/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp +++ b/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp @@ -41,7 +41,6 @@ void SEffect::Initialize() m_Layer = NULL; m_NextEffect = NULL; m_Context = NULL; - m_imageMaps = nullptr; m_error = CRegisteredString(); } @@ -53,7 +52,7 @@ void SEffect::SetActive(bool inActive, IEffectSystem &inManager) inManager.ResetEffectFrameData(*m_Context); m_Flags.SetDirty(true); if (inActive) - inManager.SetEffectRequiresCompilation(m_ClassName, true); + inManager.SetEffectRequiresCompilation(m_dynamicObject->m_ClassName, true); } } |