From 365c368b5fa727347f9d3f93364caecf35ab72ce Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 12 Sep 2013 22:08:56 +0000 Subject: add back library linking warning when renaming library datablocks in the outliner, also typo corrections. --- source/blender/python/intern/bpy_rna.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/python/intern') diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 29f2d308367..808c07a35a8 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1341,7 +1341,7 @@ PyObject *pyrna_prop_to_py(PointerRNA *ptr, PropertyRNA *prop) return pyrna_py_from_array(ptr, prop); } - /* see if we can coorce into a python type - PropertyType */ + /* see if we can coerce into a python type - PropertyType */ switch (type) { case PROP_BOOLEAN: ret = PyBool_FromLong(RNA_property_boolean_get(ptr, prop)); @@ -1507,7 +1507,7 @@ static int pyrna_py_to_prop(PointerRNA *ptr, PropertyRNA *prop, void *data, PyOb else { /* Normal Property (not an array) */ - /* see if we can coorce into a python type - PropertyType */ + /* see if we can coerce into a python type - PropertyType */ switch (type) { case PROP_BOOLEAN: { @@ -4887,7 +4887,7 @@ static PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *dat } } else { - /* see if we can coorce into a python type - PropertyType */ + /* see if we can coerce into a python type - PropertyType */ switch (type) { case PROP_BOOLEAN: ret = PyBool_FromLong(*(int *)data); -- cgit v1.2.3