diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-24 19:46:14 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-24 19:46:14 +0400 |
commit | 87ccc78f2c4053f04ad8379370ad5891cb2d6629 (patch) | |
tree | 3631e829160cb2e2ff4c10f2e0b9f0834b4f3e4d /source/blender/makesrna | |
parent | 9b32776be349f5e738b449ca1298e65ce1b69d33 (diff) |
Fix #33286: when keyframing object scale, noise fmodifier scale would show
as animated in the UI.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 07febfb85f4..5955eca3f09 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -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 |