Blender Git Loki

Git Commits -> Revision 6aef124

Revision 6aef124 by Campbell Barton (master)
April 18, 2019, 10:44 (GMT)
UI: move region toggling to properties

Each space had separate operators, duplicating logic.

Use RNA properties instead so adding the ability to toggle other
region types (floating redo region for eg) doesn't need to have an
extra operator per space type.

It's also nicer to show a check-box for something which can be toggled.

Commit Details:

Full Hash: 6aef124e7d2869a692dd564a4515f2304924da33
Parent Commit: d55a9ca
Lines Changed: +218, -506

1 Deleted Path:

/source/blender/editors/space_view3d/view3d_toolbar.c (+0, -67)

46 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+47, -15) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+10, -5) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+3, -2) (Diff)
/release/scripts/startup/bl_ui/space_dopesheet.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_graph.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_nla.py (+1, -2) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_sequencer.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_text.py (+3, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+2, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+8, -1) (Diff)
/source/blender/editors/screen/area.c (+3, -5) (Diff)
/source/blender/editors/screen/screen_intern.h (+0, -3) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/space_action/action_buttons.c (+0, -24) (Diff)
/source/blender/editors/space_action/action_intern.h (+0, -1) (Diff)
/source/blender/editors/space_action/action_ops.c (+0, -3) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+0, -2) (Diff)
/source/blender/editors/space_clip/clip_toolbar.c (+0, -92) (Diff)
/source/blender/editors/space_clip/space_clip.c (+0, -4) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+0, -24) (Diff)
/source/blender/editors/space_graph/graph_intern.h (+0, -1) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+0, -1) (Diff)
/source/blender/editors/space_graph/graph_utils.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+0, -50) (Diff)
/source/blender/editors/space_image/image_intern.h (+0, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+0, -3) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+0, -24) (Diff)
/source/blender/editors/space_nla/nla_intern.h (+0, -1) (Diff)
/source/blender/editors/space_nla/nla_ops.c (+0, -3) (Diff)
/source/blender/editors/space_node/node_buttons.c (+0, -32) (Diff)
/source/blender/editors/space_node/node_intern.h (+0, -2) (Diff)
/source/blender/editors/space_node/node_ops.c (+0, -3) (Diff)
/source/blender/editors/space_node/node_toolbar.c (+0, -34) (Diff)
/source/blender/editors/space_sequencer/sequencer_buttons.c (+0, -27) (Diff)
/source/blender/editors/space_sequencer/sequencer_intern.h (+0, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_ops.c (+0, -3) (Diff)
/source/blender/editors/space_text/space_text.c (+0, -2) (Diff)
/source/blender/editors/space_text/text_header.c (+0, -23) (Diff)
/source/blender/editors/space_text/text_intern.h (+0, -2) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+0, -25) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+0, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+131, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021