Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/bmesh/bmesh_py_ops_call.c
| Show First 20 Lines • Show All 504 Lines • ▼ Show 20 Lines | default: | ||||
| return -1; | return -1; | ||||
| } | } | ||||
| /* all is well */ | /* all is well */ | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| /** | /** | ||||
| * Use for getting return values from an operator thats already executed. | * Use for getting return values from an operator that's already executed. | ||||
| * | * | ||||
| * \note Don't throw any exceptions and should always return a valid (PyObject *). | * \note Don't throw any exceptions and should always return a valid (PyObject *). | ||||
| */ | */ | ||||
| static PyObject *bpy_slot_to_py(BMesh *bm, BMOpSlot *slot) | static PyObject *bpy_slot_to_py(BMesh *bm, BMOpSlot *slot) | ||||
| { | { | ||||
| PyObject *item = NULL; | PyObject *item = NULL; | ||||
| /* keep switch in same order as above */ | /* keep switch in same order as above */ | ||||
| ▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines | |||||