diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-04-01 12:59:36 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-04-01 12:59:36 +0400 |
commit | 48e4a4834092a8772141e6240e5e70d67110f126 (patch) | |
tree | 3def4fda774b7c9e4fac7320fbed3fd0165e589a /source/gameengine/Ketsji/KX_MeshProxy.cpp | |
parent | 1e2f736d3a1813742e77373beb461a8b6645ac32 (diff) |
BGE API cleanup: ReplaceMeshActuator mesh attributes now returns a KX_MeshProxy. Fix a bug in KX_MeshProxy where the Python type was not set right.
Diffstat (limited to 'source/gameengine/Ketsji/KX_MeshProxy.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_MeshProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp index a0c0a496c06..f40c307315e 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.cpp +++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp @@ -124,7 +124,7 @@ KX_MeshProxy::_getattr(const char *attr) KX_MeshProxy::KX_MeshProxy(RAS_MeshObject* mesh) - : m_meshobj(mesh) + : SCA_IObject(&Type), m_meshobj(mesh) { } |