diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-11 19:45:17 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-11 19:45:17 +0300 |
commit | feb210f08ebd5d6283624996883719b00fa590eb (patch) | |
tree | f08814d79d54c87810a320a0f6f101ba5e1a1175 /source/blender/src/interface_draw.c | |
parent | 97f892b86b9b31e8165c27c698da7996dfd2d0a2 (diff) |
Experimental feature, especially for the animation department:
THE OBJECT PROXY
Or simple said; local control of referenced data from libraries.
Having library files with references is a very common studio setup, and
Blender did do quite well in that area. Were it not that for character
setups it was impossible to use still.
This commit will enable a full rig+character to remain in the library,
and still have - under strict control - local access for animation edits.
Full log:
http://www.blender3d.org/cms/Proxy_Objects.824.0.html
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index 58ca38ec30c..b91a8f83b64 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -1507,6 +1507,18 @@ static void ui_draw_text_icon(uiBut *but) } } } + + if(but->type==BUT_TOGDUAL) { + int dualset= 0; + if(but->pointype==SHO) + dualset= BTST( *(((short *)but->poin)+1), but->bitnr); + else if(but->pointype==INT) + dualset= BTST( *(((int *)but->poin)+1), but->bitnr); + if(dualset) { + ui_draw_icon(but, ICON_DOT); + } + } + if(but->drawstr[0]!=0) { int transopts; int tog3= 0; |