diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-27 20:23:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-27 20:23:28 +0300 |
commit | 89cd4be1affe34051326ad39f69b8026001519fa (patch) | |
tree | fbcc69f96f0c0ebb4367e04b0f27f1ef6b6d629b /source/blender/python/intern | |
parent | a46f36b19c46ab78e1ec8ce52b1a08512dff1c16 (diff) |
slice assignment wasnt running the properties update function (setting object layers wasnt working from py)
also commented operator subclassing, loosing py property order.
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 1a82ddcb097..31b9855700e 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1360,6 +1360,8 @@ static int pyrna_prop_ass_subscript( BPy_PropertyRNA *self, PyObject *key, PyObj PyErr_SetString(PyExc_AttributeError, "invalid key, key must be an int"); return -1; } + + RNA_property_update(BPy_GetContext(), &self->ptr, self->prop); } |