[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43692] trunk/blender/source/blender/ makesrna/intern/rna_access.c: Fix #29892: Properties of objects in nested custom collections stop being animatable once an object get added to an unrelated custom collection .

Sergey Sharybin sergey.vfx at gmail.com
Wed Jan 25 17:14:34 CET 2012


Revision: 43692
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43692
Author:   nazgul
Date:     2012-01-25 16:14:24 +0000 (Wed, 25 Jan 2012)
Log Message:
-----------
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.

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-01-25 13:37:11 UTC (rev 43691)
+++ trunk/blender/source/blender/makesrna/intern/rna_access.c	2012-01-25 16:14:24 UTC (rev 43692)
@@ -3979,6 +3979,8 @@
 								}
 							}
 						}
+						if(path)
+							break;
 					}
 				}
 			}




More information about the Bf-blender-cvs mailing list