Small fixes, based on bugreports;
authorTon Roosendaal <ton@blender.org>
Sun, 18 Sep 2005 11:20:05 +0000 (11:20 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 18 Sep 2005 11:20:05 +0000 (11:20 +0000)
- Toolbox item for shaded mode had wrong hotkey
- Added countall() for select menu stuff (in 3d header, groupmenu)
  That way the stats in infoheader are updated.
- Tooltip was wrong for X-axis mirror mode Armatures

source/blender/src/buttons_editing.c
source/blender/src/editobject.c
source/blender/src/header_view3d.c
source/blender/src/space.c
source/blender/src/toolbox.c

index c44d5d9b0234a91bb1c6908e8c9adbcf15b0d035..0e1aa99bad5bfd6be9236eb28fabb918d21c97fd 100644 (file)
@@ -2526,7 +2526,7 @@ static void editing_panel_armature_type(Object *ob, bArmature *arm)
 
        uiDefBut(block, LABEL, 0, "Editing Options", 10,180,150,20, 0, 0, 0, 0, 0, "");
        uiBlockBeginAlign(block);
-       uiDefButBitI(block, TOG, ARM_MIRROR_EDIT, B_DIFF, "X-Axis Mirror Edit", 10, 160,150,20, &arm->flag, 0, 0, 0, 0, "Draw bone axes");
+       uiDefButBitI(block, TOG, ARM_MIRROR_EDIT, B_DIFF, "X-Axis Mirror Edit", 10, 160,150,20, &arm->flag, 0, 0, 0, 0, "Enable X-axis mirrored editing");
        uiDefButBitC(block, TOG, OB_DRAWXRAY,REDRAWVIEW3D, "X-Ray",                             160,160,150,20, &ob->dtx, 0, 0, 0, 0, "Draw armature in front of solid objects");
        uiBlockEndAlign(block);
        
index dd58af0e88ffe19c6d3b83b76e4ce85f8b556b80..afdc6353a7ae1597e8051bb40e4a821dcc8f8523 100644 (file)
@@ -4397,6 +4397,7 @@ void selectlinks(int nr)
                }
                base= base->next;
        }
+       
        allqueue(REDRAWVIEW3D, 0);
        allqueue(REDRAWDATASELECT, 0);
        allqueue(REDRAWOOPS, 0);
index 1ca0ccef00e63245dc9b487f54c81228fba2efc7..df468fdea7fa1d94a87c4e712cb8008d1974928d 100644 (file)
@@ -697,6 +697,7 @@ void do_view3d_select_object_linkedmenu(void *arg, int event)
                selectlinks(event);
                break;
        }
+       countall();
        allqueue(REDRAWVIEW3D, 0);
 }
 
index 530f03ae32980a422f4b1ee96db4a2f5162695fc..35be5a34d878499e360c6b0cfc45ebb2a5240ce3 100644 (file)
@@ -615,6 +615,7 @@ void select_group(short nr)
        else if(nr==1) select_children(OBACT, 1);
        else if(nr==3) select_parent();
        
+       countall();
        allqueue(REDRAWVIEW3D, 0);
        allqueue(REDRAWBUTSOBJECT, 0);
        allspace(REMAKEIPO, 0);
index d64bca254a6a3fa4950effb2b6e789182ba6bad4..c696f89b68306de1c118cce5105645925e5fcaaa 100644 (file)
@@ -1883,7 +1883,7 @@ static TBitem tb_view_dt[]= {
 {      ICON_BBOX, "Bounding Box",      1, NULL},
 {      ICON_WIRE, "Wireframe|Z",       2, NULL},
 {      ICON_SOLID, "Solid|Z",          3, NULL},
-{      ICON_SMOOTH, "Shaded|Ctrl Z",           4, NULL},
+{      ICON_SMOOTH, "Shaded|Shift Z",          4, NULL},
 {      ICON_POTATO, "Textured|Alt Z",  5, NULL},
 {  -1, "",                     0, tb_do_view_dt}};