slice assignment wasnt running the properties update function (setting object layers wasnt working from py)

also commented operator subclassing, loosing py property order.
This commit is contained in:
2010-01-27 17:23:28 +00:00
parent a46f36b19c
commit 89cd4be1af
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}