diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-25 20:14:24 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-25 20:14:24 +0400 |
commit | 14f475fccad7158098ddecc285c617f990b2f8b5 (patch) | |
tree | 68d6c05ca9e53d2fea771d2371331a47bb41051f /source/blender/makesrna/intern/rna_access.c | |
parent | bce89860f52b150ea7da7bbeefd2cdd62b75ae33 (diff) |
Fix #29892: Properties of objects in nested custom collections stop being animatable once an object get added to an unrelated custom collection.
Issue was caused by attempting to find rna path in all property collections
which lead to overwritting already found path.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 7d366afd3ca..3dc0e7c37e4 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -3979,6 +3979,8 @@ static char *rna_idp_path(PointerRNA *ptr, IDProperty *haystack, IDProperty *nee } } } + if(path) + break; } } } |