Fix #33286: when keyframing object scale, noise fmodifier scale would show

as animated in the UI.
This commit is contained in:
Brecht Van Lommel
2012-11-24 15:46:14 +00:00
parent 9b32776be3
commit 87ccc78f2c

View 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