[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37888] branches/soc-2011-pepper/source/ blender/editors/space_outliner/outliner.c: Outliner Bugfixes:

Joshua Leung aligorith at gmail.com
Tue Jun 28 07:17:17 CEST 2011


Revision: 37888
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37888
Author:   aligorith
Date:     2011-06-28 05:17:17 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Outliner Bugfixes:
* Mesh Animation-Data was not shown. Other data types would get this
shown.

* Added attempted fix for the problem where when you try to expand the
last item in a RNA list or so, you often end up expanding the first
item (and then have to close and try again, at which point the expand
works as you expected the first time round). More testing needed, but
seems to work better already

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/editors/space_outliner/outliner.c

Modified: branches/soc-2011-pepper/source/blender/editors/space_outliner/outliner.c
===================================================================
--- branches/soc-2011-pepper/source/blender/editors/space_outliner/outliner.c	2011-06-28 05:02:00 UTC (rev 37887)
+++ branches/soc-2011-pepper/source/blender/editors/space_outliner/outliner.c	2011-06-28 05:17:17 UTC (rev 37888)
@@ -775,7 +775,7 @@
 			{
 				Mesh *me= (Mesh *)id;
 				
-				//outliner_add_element(soops, &te->subtree, me->adt, te, TSE_ANIM_DATA, 0);
+				outliner_add_element(soops, &te->subtree, me->adt, te, TSE_ANIM_DATA, 0);
 				
 				outliner_add_element(soops, &te->subtree, me->key, te, 0, 0);
 				for(a=0; a<me->totcol; a++) 
@@ -1088,7 +1088,7 @@
 				if(!(tselem->flag & TSE_CLOSED)) {
 					for(a=0; a<tot; a++) {
 						RNA_property_collection_lookup_int(ptr, prop, a, &pptr);
-						outliner_add_element(soops, &te->subtree, (void*)&pptr, te, TSE_RNA_STRUCT, -1);
+						outliner_add_element(soops, &te->subtree, (void*)&pptr, te, TSE_RNA_STRUCT, a);
 					}
 				}
 				else if(tot)




More information about the Bf-blender-cvs mailing list