Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/bmesh/bmesh_py_types_meshdata.c
| Show First 20 Lines • Show All 472 Lines • ▼ Show 20 Lines | |||||
| * weight = dv[group_nr] | * weight = dv[group_nr] | ||||
| * del dv[group_nr] | * del dv[group_nr] | ||||
| * | * | ||||
| * \note: there is nothing BMesh specific here, | * \note: there is nothing BMesh specific here, | ||||
| * its only that BMesh is the only part of blender that uses a hand written api like this. | * its only that BMesh is the only part of blender that uses a hand written api like this. | ||||
| * This type could eventually be used to access lattice weights. | * This type could eventually be used to access lattice weights. | ||||
| * | * | ||||
| * \note: Many of blender-api's dict-like-wrappers act like ordered dicts, | * \note: Many of blender-api's dict-like-wrappers act like ordered dicts, | ||||
| * This is intentional _not_ ordered, the weights can be in any order and it wont matter, | * This is intentionally _not_ ordered, the weights can be in any order and it won't matter, | ||||
| * the order should not be used in the api in any meaningful way (as with a python dict) | * the order should not be used in the api in any meaningful way (as with a python dict) | ||||
| * only expose as mapping, not a sequence. | * only expose as mapping, not a sequence. | ||||
| */ | */ | ||||
| #define BPy_BMDeformVert_Check(v) (Py_TYPE(v) == &BPy_BMDeformVert_Type) | #define BPy_BMDeformVert_Check(v) (Py_TYPE(v) == &BPy_BMDeformVert_Type) | ||||
| typedef struct BPy_BMDeformVert { | typedef struct BPy_BMDeformVert { | ||||
| PyObject_VAR_HEAD | PyObject_VAR_HEAD | ||||
| ▲ Show 20 Lines • Show All 316 Lines • Show Last 20 Lines | |||||