diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-06-28 09:17:17 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-06-28 09:17:17 +0400 |
commit | c4e28f999b48a5e110a57522c56e26b3d42f6b92 (patch) | |
tree | 7cbad31647fd7e1b161cdf660d1b0f704a332560 /source/blender/editors/space_outliner | |
parent | 661c55b78aa3ff0b4c3ea28c9b907378f5199857 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c index 0ce6b5d2ce2..63dd34c60bf 100644 --- a/source/blender/editors/space_outliner/outliner.c +++ b/source/blender/editors/space_outliner/outliner.c @@ -775,7 +775,7 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i { 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 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i 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) |