[Bf-blender-cvs] [86e88df03c5] blender2.8: Fix outliner click select with tablets, after recent changes.

Brecht Van Lommel noreply at git.blender.org
Tue Nov 27 15:06:17 CET 2018


Commit: 86e88df03c5e8826ae0fde223c982e69b6ff7983
Author: Brecht Van Lommel
Date:   Tue Nov 27 15:04:42 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB86e88df03c5e8826ae0fde223c982e69b6ff7983

Fix outliner click select with tablets, after recent changes.

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

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

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

diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index ce89e7e6d66..9d94947f61e 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -99,7 +99,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
 	/* Drag and drop does own highlighting. */
 	wmWindowManager *wm = CTX_wm_manager(C);
 	if (wm->drags.first) {
-		return (OPERATOR_CANCELLED | OPERATOR_PASS_THROUGH);
+		return OPERATOR_PASS_THROUGH;
 	}
 
 	ARegion *ar = CTX_wm_region(C);
@@ -121,7 +121,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
 		ED_region_tag_redraw_no_rebuild(ar);
 	}
 
-	return (OPERATOR_FINISHED | OPERATOR_PASS_THROUGH);
+	return OPERATOR_PASS_THROUGH;
 }
 
 void OUTLINER_OT_highlight_update(wmOperatorType *ot)



More information about the Bf-blender-cvs mailing list