[Bf-blender-cvs] [1dce29a10ff] greasepencil-object: Cleanup previous fix code
Antonio Vazquez
noreply at git.blender.org
Sat Dec 2 11:41:14 CET 2017
Commit: 1dce29a10ff5ecc315377a086d86324bfa5ee419
Author: Antonio Vazquez
Date: Sat Dec 2 11:41:06 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB1dce29a10ff5ecc315377a086d86324bfa5ee419
Cleanup previous fix code
===================================================================
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 13291fb76b7..75289fa6f2a 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -218,7 +218,7 @@ static eOLDrawState tree_element_set_active_object(
ED_gpencil_toggle_brush_cursor(C, false);
}
/* set workspace mode */
- BKE_workspace_object_mode_set(CTX_wm_workspace(C), CTX_data_scene(C), ob->mode);
+ BKE_workspace_object_mode_set(CTX_wm_workspace(C), scene, ob->mode);
}
if (ob != scene->obedit)
More information about the Bf-blender-cvs
mailing list