Fix #33286: when keyframing object scale, noise fmodifier scale would show
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 24 Nov 2012 15:46:14 +0000 (15:46 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 24 Nov 2012 15:46:14 +0000 (15:46 +0000)
as animated in the UI.

source/blender/makesrna/intern/rna_access.c

index 07febfb85f4db889286ac4a9716d110d0293d0c0..5955eca3f0947ed1f5a4f495c19475ba40f938f0 100644 (file)
@@ -4150,7 +4150,7 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop)
                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