Small fix: when using vertex keys for Lattices, all buttons in the panel
authorTon Roosendaal <ton@blender.org>
Thu, 22 Apr 2004 10:35:02 +0000 (10:35 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 22 Apr 2004 10:35:02 +0000 (10:35 +0000)
where locked. This should not be for three of them, to set drawtype or
key mode (slurph, relative)

source/blender/src/buttons_editing.c

index d86ea2dcf7c0a7e3f7d79076bba05cc30ff2d8f5..cfa36a0a75468770c027c95c4700ff1b338ecd15 100644 (file)
@@ -1177,6 +1177,7 @@ static void editing_panel_lattice_type(Object *ob, Lattice *lt)
 
        uiDefBut(block, BUT, B_RESIZELAT,       "Make Regular",         470,101,99,32, 0, 0, 0, 0, 0, "");
 
+       uiClearButLock();
        uiDefButS(block, TOG|BIT|1, B_LATTCHANGED, "Outside",   571,101,120,31, &lt->flag, 0, 0, 0, 0, "");
 
        if(lt->key) {