diff options
author | Nick Samarin <nicks1987@bigmir.net> | 2010-05-28 00:18:56 +0400 |
---|---|---|
committer | Nick Samarin <nicks1987@bigmir.net> | 2010-05-28 00:18:56 +0400 |
commit | d7a701c2c5ffbe9313431c6367a264e54136accb (patch) | |
tree | d02b7b7ec4b07cba78a88779d6b55e52ff38fd1f /source/gameengine/Ketsji/KX_Scene.cpp | |
parent | 56784fcde9e4a4ff1553bf555e66b59208c90b3c (diff) |
- added new game object type for navigation mesh
- added py api for path finding and ray casting
- set svn properties for KX_Pathfinder
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_Scene.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp index 4f2884ee751..bfa372018cb 100644 --- a/source/gameengine/Ketsji/KX_Scene.cpp +++ b/source/gameengine/Ketsji/KX_Scene.cpp @@ -94,7 +94,6 @@ #endif #include "KX_Light.h" -#include "KX_Pathfinder.h" #include <stdio.h> void* KX_SceneReplicationFunc(SG_IObject* node,void* gameobj,void* scene) @@ -150,8 +149,7 @@ KX_Scene::KX_Scene(class SCA_IInputDevice* keyboarddevice, m_networkDeviceInterface(ndi), m_active_camera(NULL), m_ueberExecutionPriority(0), - m_blenderScene(scene), - m_pathfinder(NULL) + m_blenderScene(scene) { m_suspendedtime = 0.0; m_suspendeddelta = 0.0; @@ -212,8 +210,6 @@ KX_Scene::KX_Scene(class SCA_IInputDevice* keyboarddevice, m_bucketmanager=new RAS_BucketManager(); - m_pathfinder = new KX_Pathfinder(); - #ifndef DISABLE_PYTHON m_attr_dict = PyDict_New(); /* new ref */ m_draw_call_pre = NULL; @@ -268,11 +264,6 @@ KX_Scene::~KX_Scene() delete m_bucketmanager; } - if (m_pathfinder) - { - delete m_pathfinder; - } - #ifndef DISABLE_PYTHON PyDict_Clear(m_attr_dict); Py_DECREF(m_attr_dict); |