[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52535] trunk/blender/source/blender/ makesrna/intern/rna_access.c: Fix #33286: when keyframing object scale, noise fmodifier scale would show

Brecht Van Lommel brechtvanlommel at pandora.be
Sat Nov 24 16:46:15 CET 2012


Revision: 52535
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52535
Author:   blendix
Date:     2012-11-24 15:46:14 +0000 (Sat, 24 Nov 2012)
Log Message:
-----------
Fix #33286: when keyframing object scale, noise fmodifier scale would show
as animated in the UI.

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	2012-11-24 14:50:40 UTC (rev 52534)
+++ trunk/blender/source/blender/makesrna/intern/rna_access.c	2012-11-24 15:46:14 UTC (rev 52535)
@@ -4150,7 +4150,7 @@
 		path = BLI_sprintfN(is_rna ? "%s.%s" : "%s[\"%s\"]", ptrpath, propname);
 		MEM_freeN(ptrpath);
 	}
-	else {
+	else if(RNA_struct_is_ID(ptr->type)) {
 		if (is_rna)
 			path = BLI_strdup(propname);
 		else




More information about the Bf-blender-cvs mailing list