Fix, python changes to array properties were not yet calling update
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 6 Apr 2010 09:11:33 +0000 (09:11 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 6 Apr 2010 09:11:33 +0000 (09:11 +0000)
and notifiers like other properties.

source/blender/python/intern/bpy_rna.c

index e522861b2aaefd8dbe1ee9fb660b9077b81a7069..94a9674ea5ff9481a7e6d23ba8b17c00cf815f75 100644 (file)
@@ -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;
 }