Texture context selector for texture panel:
authorJanne Karhu <jhkarh@gmail.com>
Tue, 8 Feb 2011 14:29:48 +0000 (14:29 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Tue, 8 Feb 2011 14:29:48 +0000 (14:29 +0000)
commit811a1b910ca8f699ce499645ab99552fc2c83937
tree9086296cbb58a943b9a95b6ed9f4aef9ecfe5194
parent9e73ac2b9f6ba34c95e7146f346009363eb46a4d
Texture context selector for texture panel:
* Texture context was previously determined by going to the appropriate panel, for example "world panel -> texture panel" to access world textures. Additionally there was a separate button to access brush textures.
* Now the texture context can be selected directly through an expanded icon menu, which shows the available context options.
* This context selector is now at the top of the texture panel, but this could later be perhaps integrated to the context path somehow to be more intuitive.
release/scripts/ui/properties_texture.py
source/blender/editors/space_buttons/buttons_context.c
source/blender/editors/space_buttons/buttons_header.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_space.c