BGE modifier: generate correct physic shape, share static derived mesh, share display...
[blender.git] / source / gameengine / Converter / BL_ModifierDeformer.h
index 465c287a88bcc1a4fe59f7f62ffb17b4f65095c2..d5a1caeb91f0b4f55ea7a5acba117b242bb456d1 100644 (file)
@@ -86,6 +86,11 @@ public:
        {
                m_lastModifierUpdate = -1.0;
        };
+       virtual struct DerivedMesh* GetFinalMesh()
+       {
+               return m_dm;
+       }
+
 
 protected:
        double                                   m_lastModifierUpdate;