diff options
author | Ton Roosendaal <ton@blender.org> | 2006-05-13 13:55:52 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-05-13 13:55:52 +0400 |
commit | 4600b3e475189f4d7fcd3e151360e222d1229790 (patch) | |
tree | 807f645233e4427c6f02bb1e8257837d90d8f70f /source/blender/src/headerbuttons.c | |
parent | 2bcf11defb2f570b625b4f05d31662a1af18cc10 (diff) |
Browsing Mesh data in editmode used to be locked (uiButLock). Cleanup of
headerbuttons code in orange branch disabled this lock. Brought it back.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r-- | source/blender/src/headerbuttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index ed3cadc9dbc..25f46275a06 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -273,7 +273,7 @@ int std_libbuttons(uiBlock *block, short xco, short yco, if( id_code==ID_SCE || id_code==ID_SCR ) uiClearButLock(); if(curarea->spacetype==SPACE_BUTS) - uiSetButLock(id_code!=ID_SCR && G.obedit!=0 && G.buts->mainb==CONTEXT_EDITING, NULL); + uiSetButLock(id_code!=ID_SCR && G.obedit!=0 && G.buts->mainb==CONTEXT_EDITING, "Cannot perform in EditMode"); if(parid) uiSetButLock(parid->lib!=0, "Can't edit library data"); |