Revision: 20095 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20095 Author: mfoxdogg Date: 2009-05-07 11:52:36 +0200 (Thu, 07 May 2009)
Log Message: ----------- revert some of my last commit, i overstepprd my bounds Modified Paths: -------------- branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_header.c Modified: branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_header.c =================================================================== --- branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_header.c 2009-05-07 09:13:01 UTC (rev 20094) +++ branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_header.c 2009-05-07 09:52:36 UTC (rev 20095) @@ -176,11 +176,6 @@ uiDefIconButS(block, ROW, B_CONTEXT_SWITCH, ICON_SCENE, xco, yco, XIC, YIC, &(sbuts->mainb), 0.0, (float)BCONTEXT_SCENE, 0, 0, "Scene"); uiDefIconButS(block, ROW, B_CONTEXT_SWITCH, ICON_WORLD, xco+=XIC, yco, XIC, YIC, &(sbuts->mainb), 0.0, (float)BCONTEXT_WORLD, 0, 0, "World"); uiDefIconButS(block, ROW, B_CONTEXT_SWITCH, ICON_OBJECT_DATA, xco+=XIC, yco, XIC, YIC, &(sbuts->mainb), 0.0, (float)BCONTEXT_OBJECT, 0, 0, "Object"); - - xco+= XIC/2; - uiBlockEndAlign(block); - - uiBlockBeginAlign(block); uiDefIconButS(block, ROW, B_CONTEXT_SWITCH, dataicon, xco+=XIC, yco, XIC, YIC, &(sbuts->mainb), 0.0, (float)BCONTEXT_DATA, 0, 0, "Object Data"); if(ob && ELEM5(ob->type, OB_MESH, OB_SURF, OB_MBALL, OB_CURVE, OB_FONT)) uiDefIconButS(block, ROW, B_BUTSPREVIEW, ICON_MATERIAL, xco+=XIC, yco, XIC, YIC, &(sbuts->mainb), 0.0, (float)BCONTEXT_MATERIAL, 0, 0, "Material"); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs