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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-30 12:28:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-30 12:28:48 +0400
commitdf4dd70d7bc1f60cb9ea5bbb2da4f0319f6f55b5 (patch)
treedf6e9a81c7ab8f9698948ab4b0f35bef132f4e94 /source/blender/python
parentf7dfb233371adb4064e2cc79cc47084ed89fbbbf (diff)
various utf8 compatibility fixes
- OBJ import/export now work with non utf8 paths. (all exporters and importers need changes like this) - strip non utf8 chars from new ID blocks (also applies to renaming) - set the file rename button to allow non-utf8 chars.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 2c16d4f2b56..6cc191757ed 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -233,7 +233,7 @@ static const char *py_safe_unicode_to_byte(PyObject *py_str, PyObject **coerce)
}
}
-static PyObject *py_safe_byte_to_unicode(char *str)
+static PyObject *py_safe_byte_to_unicode(const char *str)
{
PyObject *result= PyUnicode_FromString(str);
if(result) {