Blender Git Commit Log
Git Commits -> Revision 7a8ac1b
Revision 7a8ac1b by Campbell Barton (master) December 4, 2017, 09:31 (GMT) |
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 |
Commit Details:
Full Hash: 7a8ac1b09b1cf321f259b8eb9b832424d2c7bf5b
Parent Commit: 5b6cfa7
Lines Changed: +2034, -3
8 Added Paths:
/source/blender/python/intern/bpy_msgbus.c (+400, -0) (View)
/source/blender/python/intern/bpy_msgbus.h (+30, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus.c (+245, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_intern.h (+41, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_rna.c (+316, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c (+136, -0) (View)
/source/blender/windowmanager/message_bus/wm_message_bus.h (+257, -0) (View)
/source/blender/windowmanager/WM_message.h (+30, -0) (View)
/source/blender/python/intern/bpy_msgbus.h (+30, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus.c (+245, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_intern.h (+41, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_rna.c (+316, -0) (View)
/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c (+136, -0) (View)
/source/blender/windowmanager/message_bus/wm_message_bus.h (+257, -0) (View)
/source/blender/windowmanager/WM_message.h (+30, -0) (View)
32 Modified Paths:
/release/scripts/modules/bpy/__init__.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_context.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_screen.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+15, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface.c (+38, -0) (Diff)
/source/blender/editors/screen/area.c (+81, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+29, -0) (Diff)
/source/blender/editors/space_time/space_time.c (+45, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+71, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_camera.c (+51, -0) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+62, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+9, -0) (Diff)
/source/blender/python/intern/bpy.c (+2, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+2, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+10, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+33, -2) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c (+20, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c (+51, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+9, -0) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_context.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_screen.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+15, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface.c (+38, -0) (Diff)
/source/blender/editors/screen/area.c (+81, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+29, -0) (Diff)
/source/blender/editors/space_time/space_time.c (+45, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+71, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_manipulator_camera.c (+51, -0) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+62, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+9, -0) (Diff)
/source/blender/python/intern/bpy.c (+2, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+2, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+10, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+33, -2) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c (+20, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_target_props.c (+51, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+9, -0) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)