Commit: c41fb5fac2c10e4c36d420915a1e2f6adf7356ce
Author: Campbell Barton
Date:   Fri Oct 19 14:45:11 2018 +1100
Branches: blender2.8
https://developer.blender.org/rBc41fb5fac2c10e4c36d420915a1e2f6adf7356ce

Fix UI message-bus automatic subscription

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

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

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

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);
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to