[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32101] trunk/blender/source/blender/ makesrna/intern/rna_access.c: missing check in recent commit
Campbell Barton
ideasman42 at gmail.com
Fri Sep 24 12:39:27 CEST 2010
Revision: 32101
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32101
Author: campbellbarton
Date: 2010-09-24 12:39:26 +0200 (Fri, 24 Sep 2010)
Log Message:
-----------
missing check in recent commit
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_access.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_access.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_access.c 2010-09-24 09:54:28 UTC (rev 32100)
+++ trunk/blender/source/blender/makesrna/intern/rna_access.c 2010-09-24 10:39:26 UTC (rev 32101)
@@ -3027,7 +3027,7 @@
if(nextptr.data) {
curptr= nextptr;
prop= NULL; /* now we have a PointerRNA, the prop is our parent so forget it */
- *index= -1;
+ if(index) *index= -1;
}
else
return 0;
@@ -3070,7 +3070,7 @@
if(nextptr.data) {
curptr= nextptr;
prop= NULL; /* now we have a PointerRNA, the prop is our parent so forget it */
- *index= -1;
+ if(index) *index= -1;
}
else
return 0;
More information about the Bf-blender-cvs
mailing list