From d221917170c2bb43c66e5e09f2a43350cf28d71b Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Tue, 21 Oct 2014 05:12:15 +0200 Subject: Recalculate normals for cached meshes. Check if mesh is here before adding to meshcollector. Fix deleting the meshes. --- src/gamedef.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gamedef.h') diff --git a/src/gamedef.h b/src/gamedef.h index 6da288bad..b7830373b 100644 --- a/src/gamedef.h +++ b/src/gamedef.h @@ -33,6 +33,7 @@ class MtEventManager; class IRollbackReportSink; namespace irr { namespace scene { class IAnimatedMesh; + class ISceneManager; }} /* @@ -63,6 +64,7 @@ public: virtual MtEventManager* getEventManager()=0; virtual scene::IAnimatedMesh* getMesh(const std::string &filename) { return NULL; } + virtual scene::ISceneManager* getSceneManager()=0; // Only usable on the server, and NOT thread-safe. It is usable from the // environment thread. -- cgit v1.2.3