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:
-rw-r--r--source/blender/python/generic/idprop_py_api.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c
index a8b66f3f2fe..1a7a0ecc6d7 100644
--- a/source/blender/python/generic/idprop_py_api.c
+++ b/source/blender/python/generic/idprop_py_api.c
@@ -20,8 +20,6 @@
#include <Python.h>
-#include <string.h>
-
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
@@ -372,11 +370,6 @@ static const char *idp_try_read_name(PyObject *name_obj)
"the length of IDProperty names is limited to 63 characters");
return NULL;
}
-
- if (strchr(name, '\"') || strchr(name, '\\') || strchr(name, '\'')) {
- PyErr_SetString(PyExc_KeyError, "IDProperty names cannot include \", \\, or \'");
- return NULL;
- }
}
else {
name = "";