[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39845] branches/cycles/source/blender/ makesrna/intern/rna_access.c: Cycles: fix missing update when setting integrator preset.

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Sep 1 18:27:41 CEST 2011


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)




More information about the Bf-blender-cvs mailing list