diff --git a/dev/Code/CryEngine/Cry3DEngine/DecalRenderNode.h b/dev/Code/CryEngine/Cry3DEngine/DecalRenderNode.h index 0353afdaa8..264894dadc 100644 --- a/dev/Code/CryEngine/Cry3DEngine/DecalRenderNode.h +++ b/dev/Code/CryEngine/Cry3DEngine/DecalRenderNode.h @@ -60,7 +60,7 @@ class CDecalRenderNode static void ResetDecalUpdatesCounter() { CDecalRenderNode::m_nFillBigDecalIndicesCounter = 0; } // SetMatrix only supports changing position, this will do the full transform - void SetMatrixFull(const Matrix34& mat); + virtual void SetMatrixFull(const Matrix34& mat); public: CDecalRenderNode(); void RequestUpdate() { m_updateRequested = true; DeleteDecal(); } diff --git a/dev/Code/CryEngine/CryCommon/IEntityRenderState.h b/dev/Code/CryEngine/CryCommon/IEntityRenderState.h index 01f01c9343..bbd832b675 100644 --- a/dev/Code/CryEngine/CryCommon/IEntityRenderState.h +++ b/dev/Code/CryEngine/CryCommon/IEntityRenderState.h @@ -818,6 +818,7 @@ struct IDecalRenderNode virtual const SDecalProperties* GetDecalProperties() const = 0; virtual const Matrix34& GetMatrix() = 0; virtual void CleanUpOldDecals() = 0; + virtual void SetMatrixFull(const Matrix34& mat) = 0; // };