source/blender/src/buttons_editing.c:

Fix C90 variable declaration in function body
source/blender/src/editaction.c:
    remove unused variable
This commit is contained in:
Ken Hughes
2007-03-17 15:00:11 +00:00
parent 83e72cc813
commit afadfa54bd
2 changed files with 3 additions and 3 deletions

View File

@@ -4382,14 +4382,15 @@ static void editing_panel_links(Object *ob)
uiBlockEndAlign(block);
}
else {
ID *id= ob->data;
uiBlockBeginAlign (block);
uiDefBut (block, BUT, B_NEWVGROUP, "New", 143, 90, 70, 21, 0, 0, 0, 0, 0, "Creates a new vertex group");
uiDefBut (block, BUT, B_DELVGROUP, "Delete", 213, 90, 70, 21, 0, 0, 0, 0, 0, "Removes the current vertex group");
uiDefBut (block, BUT, B_COPYVGROUP, "Copy Group", 143, 70, 140, 19, 0, 0, 0, 0, 0, "Copy Group of Vertex");
uiBlockEndAlign (block);
ID *id= ob->data;
if(id->us>1)
if(id->us > 1)
uiDefBut(block, BUT,B_LINKEDVGROUP, "Copy To Linked", 143,50,140,20, 0, 0, 0, 0, 0, "Creates identical vertex group names in other Objects using this Object-data");
}
}

View File

@@ -2734,7 +2734,6 @@ void winqreadactionspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
int doredraw= 0;
int cfra;
short mval[2];
short nr;
unsigned short event= evt->event;
short val= evt->val;
short mousebut = L_MOUSE;