[Bf-blender-cvs] [c41fb5fac2c] blender2.8: Fix UI message-bus automatic subscription
Campbell Barton
noreply at git.blender.org
Fri Oct 19 05:47:03 CEST 2018
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);
}
More information about the Bf-blender-cvs
mailing list