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:
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_ops.c')
-rw-r--r--source/blender/python/bmesh/bmesh_py_ops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_ops.c b/source/blender/python/bmesh/bmesh_py_ops.c
index fbd79f28ec7..f35bfb730ad 100644
--- a/source/blender/python/bmesh/bmesh_py_ops.c
+++ b/source/blender/python/bmesh/bmesh_py_ops.c
@@ -351,11 +351,13 @@ PyObject *BPyInit_bmesh_ops(void)
{
PyObject *submodule;
- if (PyType_Ready(&bmesh_ops_fakemod_Type) < 0)
+ if (PyType_Ready(&bmesh_ops_fakemod_Type) < 0) {
return NULL;
+ }
- if (PyType_Ready(&bmesh_op_Type) < 0)
+ if (PyType_Ready(&bmesh_op_Type) < 0) {
return NULL;
+ }
submodule = PyObject_New(PyObject, &bmesh_ops_fakemod_Type);