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:
authorJulian Eisel <julian@blender.org>2021-11-05 17:09:16 +0300
committerJulian Eisel <julian@blender.org>2021-11-05 17:32:11 +0300
commit29869243010ee92f883ec228adf407526800b47c (patch)
tree15f0866fe03b3b2ecf98f2d8f403cdc689e9fc57 /source/blender/python/intern/bpy_operator.c
parent29efd26e71979480099b5f74d1ab0fb14212d9cd (diff)
Cleanup: Remove misleading comment
Python isn't doing any conversion here. We just do a regular lookup of the given enum identifier in the RNA enum definition.
Diffstat (limited to 'source/blender/python/intern/bpy_operator.c')
-rw-r--r--source/blender/python/intern/bpy_operator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c
index 62ddfb71826..2e16970bd88 100644
--- a/source/blender/python/intern/bpy_operator.c
+++ b/source/blender/python/intern/bpy_operator.c
@@ -166,7 +166,6 @@ static PyObject *pyop_call(PyObject *UNUSED(self), PyObject *args)
PyObject *kw = NULL; /* optional args */
PyObject *context_dict = NULL; /* optional args */
- /* note that context is an int, python does the conversion in this case */
wmOperatorCallContext context = WM_OP_EXEC_DEFAULT;
int is_undo = false;