[Bf-blender-cvs] [66a8ec44c73] soc-2020-outliner: Cleanup: Add TODO comment

Nathan Craddock noreply at git.blender.org
Tue Aug 4 05:45:27 CEST 2020


Commit: 66a8ec44c73efc52b49a3ea88de93ed6791f7380
Author: Nathan Craddock
Date:   Mon Aug 3 20:27:30 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB66a8ec44c73efc52b49a3ea88de93ed6791f7380

Cleanup: Add TODO comment

===================================================================

M	source/blender/editors/space_outliner/outliner_select.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index d10bfc46960..879555fa46e 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -193,7 +193,8 @@ static void do_outliner_item_editmode_toggle(bContext *C,
     }
     else {
       ok = ED_object_editmode_enter_ex(CTX_data_main(C), scene, ob, EM_NO_CONTEXT);
-      ED_object_base_activate(C, base);
+      /* TODO (Nathan): Why does this crash on undo? */
+      // ED_object_base_activate(C, base);
     }
     if (ok) {
       ED_object_base_select(base, (ob->mode & OB_MODE_EDIT) ? BA_SELECT : BA_DESELECT);



More information about the Bf-blender-cvs mailing list