- remove WM_operatortype_exists since its almost the same as WM_operatortype_find

- hopefully fix reported problem with MSVC.
This commit is contained in:
2010-08-13 14:42:45 +00:00
parent ab56b4b5b9
commit f35efbc95a
8 changed files with 27 additions and 34 deletions

View File

@@ -63,7 +63,7 @@ static PyObject *pyop_call( PyObject * self, PyObject * args)
if (!PyArg_ParseTuple(args, "sO|O!s:_bpy.ops.call", &opname, &context_dict, &PyDict_Type, &kw, &context_str))
return NULL;
ot= WM_operatortype_exists(opname);
ot= WM_operatortype_find(opname, TRUE);
if (ot == NULL) {
PyErr_Format( PyExc_SystemError, "Calling operator \"bpy.ops.%s\" error, could not be found", opname);