diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-04 19:54:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-04 19:54:07 +0400 |
commit | 04ef5a492af04fa9317245c7a843afed1cbd8252 (patch) | |
tree | 6fbfd929528c046d315660b5e9afac0132615355 /source/gameengine/Ketsji/KX_MeshProxy.h | |
parent | 9982217a727f2714808aafbb8f56eb959c25fed9 (diff) |
Made KX_MeshProxy use PyAttributeDef. simplified getting the 'materials' attribute (no need to differentiate between types)
Added KX_GameObject 'meshes' attribute to replace getMesh(i)
Diffstat (limited to 'source/gameengine/Ketsji/KX_MeshProxy.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_MeshProxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.h b/source/gameengine/Ketsji/KX_MeshProxy.h index 0b9738153ff..56a6dfcac42 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.h +++ b/source/gameengine/Ketsji/KX_MeshProxy.h @@ -65,6 +65,8 @@ public: KX_PYMETHOD(KX_MeshProxy,GetVertex); KX_PYMETHOD(KX_MeshProxy,GetPolygon); KX_PYMETHOD_DOC(KX_MeshProxy, reinstancePhysicsMesh); + + static PyObject* pyattr_get_materials(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef); }; #endif //__KX_MESHPROXY |