[Bf-blender-cvs] [67aff56] master: Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.

Campbell Barton noreply at git.blender.org
Mon Nov 18 16:54:54 CET 2013


Commit: 67aff56c01337919b60c88c31416349c172c77b1
Author: Campbell Barton
Date:   Tue Nov 19 02:52:34 2013 +1100
http://developer.blender.org/rB67aff56c01337919b60c88c31416349c172c77b1

Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.

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

M	source/blender/editors/screen/screen_ops.c

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

diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index b226104..93923c2 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -915,14 +915,7 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 		
 		sa = sad->sa1;
 	}
-	
-	/*  poll() checks area context, but we don't accept full-area windows */
-	if (sc->full != SCREENNORMAL) {
-		if (event->type == EVT_ACTIONZONE_AREA)
-			actionzone_exit(op);
-		return OPERATOR_CANCELLED;
-	}
-	
+
 	/* adds window to WM */
 	rect = sa->totrct;
 	BLI_rcti_translate(&rect, win->posx, win->posy);




More information about the Bf-blender-cvs mailing list