Cycles: fix missing update when setting integrator preset.

This commit is contained in:
Brecht Van Lommel 2011-09-01 16:27:40 +00:00
parent df625253ac
commit cf9d1e23c8

@ -1378,7 +1378,7 @@ static void rna_property_update(bContext *C, Main *bmain, Scene *scene, PointerR
* but this isnt likely to be a performance problem. */ * but this isnt likely to be a performance problem. */
int RNA_property_update_check(PropertyRNA *prop) int RNA_property_update_check(PropertyRNA *prop)
{ {
return (prop->magic != RNA_MAGIC || prop->update || prop->noteflag); return ((prop->magic != RNA_MAGIC) || (prop->flag & PROP_IDPROPERTY)|| prop->update || prop->noteflag);
} }
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop) void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)