Revision: 39845
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39845
Author:   blendix
Date:     2011-09-01 16:27:40 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Cycles: fix missing update when setting integrator preset.

Modified Paths:
--------------
    branches/cycles/source/blender/makesrna/intern/rna_access.c

Modified: branches/cycles/source/blender/makesrna/intern/rna_access.c
===================================================================
--- branches/cycles/source/blender/makesrna/intern/rna_access.c 2011-09-01 
15:53:36 UTC (rev 39844)
+++ branches/cycles/source/blender/makesrna/intern/rna_access.c 2011-09-01 
16:27:40 UTC (rev 39845)
@@ -1378,7 +1378,7 @@
  * but this isnt likely to be a performance problem. */
 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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to