Commit: 29869243010ee92f883ec228adf407526800b47c
Author: Julian Eisel
Date:   Fri Nov 5 15:09:16 2021 +0100
Branches: master
https://developer.blender.org/rB29869243010ee92f883ec228adf407526800b47c

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.

===================================================================

M       source/blender/python/intern/bpy_operator.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to