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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-09-18 04:54:43 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-09-18 04:54:43 +0400
commit775f006bf1202abb5b9f69ecc3ab4cd1dd28a508 (patch)
treefe3afcf8798f65fc212c52bb8481ad3a73d43f88 /source/blender/python/api2_2x/NMesh.h
parentda773eee1811900c6250629baa9b923c11591930 (diff)
Exppython:
- Window: implemented .SetCursorPos, .GetViewMatrix, .GetViewVector - Lamp: .setDist was not in the methods table: Fix by new bpython developer Stephen Swaney - Scene: .frameSettings was crashing Blender (pointed by jms) - Added site dirs to sys.path (patch by Stephen Swaney) - NMesh: small internal change (added pointer to parent object) - Object: function NMesh_FromPyObject has a new arg: pointer to obj - Docs: added docs for implemented functions, plus some more info
Diffstat (limited to 'source/blender/python/api2_2x/NMesh.h')
-rw-r--r--source/blender/python/api2_2x/NMesh.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h
index 088cca164f3..88c06cd042f 100644
--- a/source/blender/python/api2_2x/NMesh.h
+++ b/source/blender/python/api2_2x/NMesh.h
@@ -79,6 +79,8 @@ PyTypeObject NMCol_Type;
extern PyTypeObject Image_Type;
+struct BPy_Object;
+
/* Globals */
static PyObject *g_nmeshmodule = NULL;
@@ -211,11 +213,12 @@ typedef struct {
typedef struct {
PyObject_HEAD
Mesh *mesh;
+ Object *object; /* object the mesh is linked to (can be NULL) */
PyObject *name;
PyObject *materials;
PyObject *verts;
PyObject *faces;
- int sel_face; /*@ XXX remove */
+ int sel_face; /*@ XXX remove */
char flags;
#define NMESH_HASMCOL 1<<0