diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
commit | 556b57febf9191210474678537322e86f3ef8cd9 (patch) | |
tree | 9bcb13af3da57c4279e90b0ef3ea3756953e7b9a /source/blender/editors/space_outliner/outliner.c | |
parent | 2403214cb474fe71c0fd9b42a6c0155c8159b7b3 (diff) |
get rid of some warnings,
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c index 235a5e00117..21da637fd7c 100644 --- a/source/blender/editors/space_outliner/outliner.c +++ b/source/blender/editors/space_outliner/outliner.c @@ -132,8 +132,7 @@ static void error(const char *dummy, ...) {} static void outliner_draw_tree_element(bContext *C, uiBlock *block, Scene *scene, ARegion *ar, SpaceOops *soops, TreeElement *te, int startx, int *starty); static void outliner_do_object_operation(bContext *C, Scene *scene, SpaceOops *soops, ListBase *lb, void (*operation_cb)(bContext *C, Scene *scene, TreeElement *, TreeStoreElem *, TreeStoreElem *)); -static void outliner_do_group_operation(bContext *C, Scene *scene, SpaceOops *soops, ListBase *lb, - void (*operation_cb)(bContext *C, Scene *scene, TreeElement *, TreeStoreElem *, TreeStoreElem *)); + static int group_select_flag(Group *gr); /* ******************** PERSISTANT DATA ***************** */ @@ -3330,31 +3329,6 @@ static void outliner_do_data_operation(SpaceOops *soops, int type, int event, Li } } -static void outliner_do_group_operation(bContext *C, Scene *scene, SpaceOops *soops, ListBase *lb, - void (*operation_cb)(bContext *C, Scene *scene, TreeElement *, TreeStoreElem *, TreeStoreElem *)) - { - TreeElement *te; - TreeStoreElem *tselem; - - for(te=lb->first; te; te= te->next) { - tselem= TREESTORE(te); - if(tselem->flag & TSE_SELECTED) { - if(tselem->type==0 && te->idcode==ID_GR) { - /* when objects selected in other scenes... dunno if that should be allowed */ - Scene *sce= (Scene *)outliner_search_back(soops, te, ID_SCE); - if(sce && scene != sce) { - ED_screen_set_scene(C, sce); - } - - operation_cb(C, scene, te, NULL, tselem); - } - } - if((tselem->flag & TSE_CLOSED)==0) { - outliner_do_group_operation(C, scene, soops, &te->subtree, operation_cb); - } - } -} - void outliner_del(bContext *C, Scene *scene, ARegion *ar, SpaceOops *soops) { |