Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/bmesh/bmesh_py_types.c
| Context not available. | |||||
| PyDoc_STRVAR(bpy_bmesh_normal_update_doc, | PyDoc_STRVAR(bpy_bmesh_normal_update_doc, | ||||
| ".. method:: normal_update()\n" | ".. method:: normal_update()\n" | ||||
| "\n" | "\n" | ||||
| " Update mesh normals.\n"); | " Update normals of mesh faces and verts.\n" | ||||
| "\n" | |||||
| " .. note::\n" | |||||
| "\n" | |||||
| " The normal of any vertex where :attr:`is_wire` is True will be a zero vector.\n"); | |||||
| static PyObject *bpy_bmesh_normal_update(BPy_BMesh *self) | static PyObject *bpy_bmesh_normal_update(BPy_BMesh *self) | ||||
| { | { | ||||
| BPY_BM_CHECK_OBJ(self); | BPY_BM_CHECK_OBJ(self); | ||||
| Context not available. | |||||
| PyDoc_STRVAR(bpy_bmvert_normal_update_doc, | PyDoc_STRVAR(bpy_bmvert_normal_update_doc, | ||||
| ".. method:: normal_update()\n" | ".. method:: normal_update()\n" | ||||
| "\n" | "\n" | ||||
| " Update vertex normal.\n"); | " Update vertex normal.\n" | ||||
| " This does not update the normals of adjoining faces.\n" | |||||
| "\n" | |||||
| " .. note::\n" | |||||
| "\n" | |||||
| " The vertex normal will be a zero vector if vertex :attr:`is_wire` is True.\n"); | |||||
| static PyObject *bpy_bmvert_normal_update(BPy_BMVert *self) | static PyObject *bpy_bmvert_normal_update(BPy_BMVert *self) | ||||
| { | { | ||||
| BPY_BM_CHECK_OBJ(self); | BPY_BM_CHECK_OBJ(self); | ||||
| Context not available. | |||||
| PyDoc_STRVAR(bpy_bmedge_normal_update_doc, | PyDoc_STRVAR(bpy_bmedge_normal_update_doc, | ||||
| ".. method:: normal_update()\n" | ".. method:: normal_update()\n" | ||||
| "\n" | "\n" | ||||
| " Update edges vertex normals.\n"); | " Update normals of all connected faces and the edge verts.\n" | ||||
| "\n" | |||||
| " .. note::\n" | |||||
| "\n" | |||||
| " The normal of edge vertex will be a zero vector if vertex :attr:`is_wire` is True.\n"); | |||||
| static PyObject *bpy_bmedge_normal_update(BPy_BMEdge *self) | static PyObject *bpy_bmedge_normal_update(BPy_BMEdge *self) | ||||
| { | { | ||||
| BPY_BM_CHECK_OBJ(self); | BPY_BM_CHECK_OBJ(self); | ||||
| Context not available. | |||||
| PyDoc_STRVAR(bpy_bmface_normal_update_doc, | PyDoc_STRVAR(bpy_bmface_normal_update_doc, | ||||
| ".. method:: normal_update()\n" | ".. method:: normal_update()\n" | ||||
| "\n" | "\n" | ||||
| " Update face's normal.\n"); | " Update face normal based on the positions of the face verts.\n" | ||||
| " This does not update the normals of face verts.\n"); | |||||
| static PyObject *bpy_bmface_normal_update(BPy_BMFace *self) | static PyObject *bpy_bmface_normal_update(BPy_BMFace *self) | ||||
| { | { | ||||
| BPY_BM_CHECK_OBJ(self); | BPY_BM_CHECK_OBJ(self); | ||||
| Context not available. | |||||