Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-08-27 20:49:01 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-08-27 20:49:01 +0300
commit7aef075ef6d07dca91444561da68d0233dc1a4c8 (patch)
tree8dc103d20bc332255cddeea6733143235d4d0d3a /source
parent9bda62c136a5a2b799c43afefdf13c5f63e2e1e7 (diff)
Cleanup some outdated dead code and comments in Outliner.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c15
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
}
}