Merging from trunk up to r38119.

This commit is contained in:
2011-07-05 13:54:25 +00:00
186 changed files with 14117 additions and 13561 deletions

View File

@@ -2839,7 +2839,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
}
/* editable check */
if(RNA_property_editable(&itemptr, iprop)) {
if(!set || RNA_property_editable(&itemptr, iprop)) {
if(a+itemlen > in.len) {
BKE_reportf(reports, RPT_ERROR, "Array length mismatch (got %d, expected more).", in.len);
err= 1;