[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28042] trunk/blender/source/blender/ python/intern/bpy_rna.c: Fix, python changes to array properties were not yet calling update

Brecht Van Lommel brecht at blender.org
Tue Apr 6 11:11:33 CEST 2010


Revision: 28042
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28042
Author:   blendix
Date:     2010-04-06 11:11:33 +0200 (Tue, 06 Apr 2010)

Log Message:
-----------
Fix, python changes to array properties were not yet calling update
and notifiers like other properties.

Modified Paths:
--------------
    trunk/blender/source/blender/python/intern/bpy_rna.c

Modified: trunk/blender/source/blender/python/intern/bpy_rna.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_rna.c	2010-04-06 09:07:39 UTC (rev 28041)
+++ trunk/blender/source/blender/python/intern/bpy_rna.c	2010-04-06 09:11:33 UTC (rev 28042)
@@ -1077,6 +1077,9 @@
 			break;
 		}
 	}
+
+	/* Run rna property functions */
+	RNA_property_update(BPy_GetContext(), ptr, prop);
 	
 	return ret;
 }





More information about the Bf-blender-cvs mailing list