Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-18 19:52:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-18 19:52:34 +0400
commit67aff56c01337919b60c88c31416349c172c77b1 (patch)
treeb9e09a0b528eca773b47c68783cfe49bf9a9b617 /source/blender/editors/screen/screen_ops.c
parentb6b4aabf041e34a76b79ff6cfad3fd739b3bb090 (diff)
Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r--source/blender/editors/screen/screen_ops.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index b226104a356..93923c24c84 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);