diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-27 20:49:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-27 20:49:01 +0300 |
commit | 7aef075ef6d07dca91444561da68d0233dc1a4c8 (patch) | |
tree | 8dc103d20bc332255cddeea6733143235d4d0d3a | |
parent | 9bda62c136a5a2b799c43afefdf13c5f63e2e1e7 (diff) |
Cleanup some outdated dead code and comments in Outliner.
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 5f4a08be9ba..002926c55d2 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -681,11 +681,6 @@ static void object_delete_cb(bContext *C, ED_object_editmode_exit(C, EM_FREEDATA); } BKE_id_delete(bmain, ob); - /* leave for ED_outliner_id_unref to handle */ -#if 0 - te->directdata = NULL; - tselem->id = NULL; -#endif } } @@ -1204,11 +1199,6 @@ static void object_delete_hierarchy_cb(bContext *C, } outline_delete_hierarchy(C, reports, scene, base); - /* leave for ED_outliner_id_unref to handle */ -#if 0 - te->directdata = NULL; - tselem->id = NULL; -#endif } DEG_id_tag_update(&scene->id, ID_RECALC_SELECT); @@ -1292,11 +1282,6 @@ static void object_batch_delete_hierarchy_cb(bContext *C, } outline_batch_delete_hierarchy(reports, CTX_data_main(C), view_layer, scene, base); - /* leave for ED_outliner_id_unref to handle */ -#if 0 - te->directdata = NULL; - tselem->id = NULL; -#endif } } |