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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-06 13:11:33 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-06 13:11:33 +0400
commit40273931a6088dcfefe78edb96e1904d23c3b377 (patch)
tree6e5aa73378c172f01d1a2cfc4f57219742a387f3 /source/blender
parent86b38129c6b781a35175d90fee406d48d565fc1c (diff)
Fix, python changes to array properties were not yet calling update
and notifiers like other properties.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/python/intern/bpy_rna.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index e522861b2aa..94a9674ea5f 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -1077,6 +1077,9 @@ static int pyrna_py_to_prop_index(BPy_PropertyRNA *self, int index, PyObject *va
break;
}
}
+
+ /* Run rna property functions */
+ RNA_property_update(BPy_GetContext(), ptr, prop);
return ret;
}