WM: message bus replacement for property notifiers

Use dynamically generated message publish/subscribe
so buttons and manipulators update properly.

This resolves common glitches where manipulators weren't updating
as well as the UI when add-ons exposed properties which
hard coded listeners weren't checking for.

Python can also publish/scribe changes via `bpy.msgbus`.

See D2917
This commit is contained in:
2017-11-13 19:43:34 +11:00
parent 5b6cfa705c
commit 7a8ac1b09b
40 changed files with 2034 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ set(SRC
bpy_library_load.c
bpy_library_write.c
bpy_manipulator_wrap.c
bpy_msgbus.c
bpy_operator.c
bpy_operator_wrap.c
bpy_path.c
@@ -102,6 +103,7 @@ set(SRC
bpy_intern_string.h
bpy_library.h
bpy_manipulator_wrap.h
bpy_msgbus.h
bpy_operator.h
bpy_operator_wrap.h
bpy_path.h