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>2018-10-19 06:45:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-19 06:46:24 +0300
commitc41fb5fac2c10e4c36d420915a1e2f6adf7356ce (patch)
treeb6d75074c102715f96bb7e55f9eb97ee9e3301c7 /source/blender/editors/screen/area.c
parent6add652c386198b1e3e126d4a88cd72b5bd97a88 (diff)
Fix UI message-bus automatic subscription
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 9bd30aa2497..bd49f3fc0fd 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -3014,7 +3014,7 @@ void ED_region_message_subscribe(
WM_gizmomap_message_subscribe(C, ar->gizmo_map, ar, mbus);
}
- if (BLI_listbase_is_empty(&ar->uiblocks)) {
+ if (!BLI_listbase_is_empty(&ar->uiblocks)) {
UI_region_message_subscribe(ar, mbus);
}