diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-06-19 23:37:17 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-06-19 23:37:17 +0400 |
commit | 881dbac5d93cffd2f6a9f5c3896d1c84ebfd0ce5 (patch) | |
tree | cf604a1c693c0b4ea57eb13064786a162499e632 /source/blender/editors/space_buttons/CMakeLists.txt | |
parent | d54d00ef845a7bb4f0d8e08133b2489983dbe907 (diff) |
This commit tackles the "context" buttons in Properties header, which were still using "ugly" old UI code.
It removes buttons_header.c file, adds a (small) space_properties.py one, with a PROPERTIES_HT_header class, which simply uses the RNA enum to draw the context buttons.
It also fixes that enum, btw, it always featured all contexts, which means you could (try to!) set through RNA invalid contexts...
Thanks to brecht and dingto for the reviews.
Diffstat (limited to 'source/blender/editors/space_buttons/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_buttons/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/CMakeLists.txt b/source/blender/editors/space_buttons/CMakeLists.txt index b20301cfc3b..9e045a39a0c 100644 --- a/source/blender/editors/space_buttons/CMakeLists.txt +++ b/source/blender/editors/space_buttons/CMakeLists.txt @@ -35,7 +35,6 @@ set(INC_SYS set(SRC buttons_context.c - buttons_header.c buttons_ops.c buttons_texture.c space_buttons.c |