From dd918da8de8b885d90420dc86351a4996dbd6ea6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 26 Jul 2009 01:32:37 +0000 Subject: ReplaceMesh Actuator option to replace the physics mesh and display mesh + python api options. When the mesh field is left blank and Physics option is enabled, it reinstances the physics mesh from the existing mesh. like calling gameOb.reinstancePhysicsMesh() from python. --- source/gameengine/GameLogic/SCA_IScene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/GameLogic/SCA_IScene.h') diff --git a/source/gameengine/GameLogic/SCA_IScene.h b/source/gameengine/GameLogic/SCA_IScene.h index b641efc6ee1..79d922a998e 100644 --- a/source/gameengine/GameLogic/SCA_IScene.h +++ b/source/gameengine/GameLogic/SCA_IScene.h @@ -55,7 +55,7 @@ public: //virtual void DelayedReleaseObject(class CValue* gameobj)=0; virtual void ReplaceMesh(class CValue* gameobj, - void* meshobj)=0; + void* meshobj, bool use_gfx, bool use_phys)=0; std::vector& GetDebugProperties(); void AddDebugProperty(class CValue* debugprop, const STR_String &name); -- cgit v1.2.3