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:
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 83058f2bc95..c74841b3ede 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1586,7 +1586,7 @@ static void ed_default_handlers(
UI_region_handlers_add(handlers);
}
if (flag & ED_KEYMAP_GIZMO) {
- BLI_assert(ar && ar->type->regionid == RGN_TYPE_WINDOW);
+ BLI_assert(ar && ELEM(ar->type->regionid, RGN_TYPE_WINDOW, RGN_TYPE_PREVIEW));
if (ar) {
/* Anything else is confusing, only allow this. */
BLI_assert(&ar->handlers == handlers);