From 29869243010ee92f883ec228adf407526800b47c Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Fri, 5 Nov 2021 15:09:16 +0100 Subject: 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. --- source/blender/python/intern/bpy_operator.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/python') 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; -- cgit v1.2.3