[Bf-blender-cvs] [7a5ed7cc787] soc-2020-outliner: Cleanup: Add name to TODO comments
Nathan Craddock
noreply at git.blender.org
Sat Jun 13 22:34:19 CEST 2020
Commit: 7a5ed7cc7873148ba058960672085d4f76483608
Author: Nathan Craddock
Date: Sat Jun 13 14:08:18 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB7a5ed7cc7873148ba058960672085d4f76483608
Cleanup: Add name to TODO comments
===================================================================
M source/blender/editors/space_outliner/outliner_draw.c
M source/blender/editors/space_outliner/outliner_select.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 520d2c73718..ffbd0aca3eb 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1907,7 +1907,7 @@ static void outliner_left_column_fn(bContext *C, void *tselem_poin, void *UNUSED
SpaceOutliner *soops = CTX_wm_space_outliner(C);
TreeStoreElem *tselem = (TreeStoreElem *)tselem_poin;
- /* TODO: Try to pass necessary data instead of searching for tree elem */
+ /* TODO (Nathan): Try to pass necessary data instead of searching for tree elem */
TreeElement *te = outliner_find_tree_element(&soops->tree, tselem);
if (!te) {
return;
@@ -2096,7 +2096,7 @@ static void outliner_draw_left_column(
if (tvc->obact && tvc->obact->mode != OB_MODE_OBJECT) {
outliner_draw_left_column_mode_toggle(block, tvc, te, tselem);
}
- /* TODO: Should the active icons always draw, or be hidden in non-object modes? */
+ /* TODO (Nathan): Should the active icons always draw, or be hidden in non-object modes? */
outliner_draw_left_column_activation(C, block, tvc, te, tselem);
if (TSELEM_OPEN(tselem, soops)) {
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 8e093cd3dcb..1770ce5127e 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -1145,7 +1145,7 @@ eOLDrawState tree_element_type_active(bContext *C,
return OL_DRAWSEL_NONE;
}
-/* TODO: Temporary while testing */
+/* TODO (Nathan): Temporary while testing */
static void outliner_set_active_camera(bContext *C, Scene *scene, TreeStoreElem *tselem)
{
Object *ob = (Object *)tselem->id;
@@ -1190,6 +1190,7 @@ void outliner_left_column_click(bContext *C, SpaceOutliner *soops, TreeElement *
outliner_viewcontext_init(C, &tvc);
if (tvc.obact && tvc.obact->mode != OB_MODE_OBJECT) {
+ /* TODO (Nathan): this runs when clicking activation icons in non-object modes */
outliner_item_mode_toggle(C, &tvc, te, true);
}
else {
More information about the Bf-blender-cvs
mailing list