NURBS CV Weight button fix for the Editing window and Properties floating panel.

Upped both limit to 100. (in 2.23, the limit in the Nkey window was 100).
Corrected the minimum of the Properties panel (was -10 which made no sense).
This commit is contained in:
2004-01-29 00:47:35 +00:00
parent d8babc260d
commit aea517832b
2 changed files with 3 additions and 3 deletions

View File

@@ -896,7 +896,7 @@ static void editing_panel_curve_tools(Object *ob, Curve *cu)
uiDefBut(block, BUT,B_SETWEIGHT,"Set Weight", 465,11,95,49, 0, 0, 0, 0, 0, "");
uiBlockBeginAlign(block);
uiDefButF(block, NUM,0,"Weight:", 565,36,102,22, &editbutweight, 0.01, 10.0, 10, 0, "");
uiDefButF(block, NUM,0,"Weight:", 565,36,102,22, &editbutweight, 0.01, 100.0, 10, 0, "");
uiDefBut(block, BUT,B_SETW1,"1.0", 670,36,50,22, 0, 0, 0, 0, 0, "");
uiDefBut(block, BUT,B_SETW2,"sqrt(2)/4",565,11,55,20, 0, 0, 0, 0, 0, "");
uiDefBut(block, BUT,B_SETW3,"0.25", 620,11,45,20, 0, 0, 0, 0, 0, "");