Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-04 19:54:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-04 19:54:07 +0400
commit04ef5a492af04fa9317245c7a843afed1cbd8252 (patch)
tree6fbfd929528c046d315660b5e9afac0132615355 /source/gameengine/Ketsji/KX_MeshProxy.h
parent9982217a727f2714808aafbb8f56eb959c25fed9 (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.h2
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