diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-26 17:19:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-26 17:19:25 +0300 |
commit | e4b20f0180858aaeec9f057e8cc473a01e1e5280 (patch) | |
tree | fe9e3629ff21435df7027634a91405397c4a9695 /source/blender/editors/space_outliner | |
parent | 63f84cf26d574284a30f2d28c57a6c32823f4425 (diff) |
2.5: various warning fixes. There was one actual bug in a few different
places, using sprintf with strings like ID names as the format string
(note that this name can contain a % character).
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c index cafe9acb96a..e3a0999ebf5 100644 --- a/source/blender/editors/space_outliner/outliner.c +++ b/source/blender/editors/space_outliner/outliner.c @@ -2444,6 +2444,7 @@ void outliner_show_hierarchy(Scene *scene, SpaceOops *soops) BIF_undo_push("Outliner show hierarchy"); } +#if 0 static void do_outliner_select(SpaceOops *soops, ListBase *lb, float y1, float y2, short *selecting) { TreeElement *te; @@ -2468,6 +2469,7 @@ static void do_outliner_select(SpaceOops *soops, ListBase *lb, float y1, float y if((tselem->flag & TSE_CLOSED)==0) do_outliner_select(soops, &te->subtree, y1, y2, selecting); } } +#endif /* its own redraw loop... urm */ void outliner_select(ARegion *ar, SpaceOops *so) |