Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-11-27 01:14:51 +0300
committerTon Roosendaal <ton@blender.org>2003-11-27 01:14:51 +0300
commit32f499ea3f261fe11594ad48383a06addc094527 (patch)
treef260a1837095defe7fdd20dbe38cc77e249800e1
parentb25a9dc8a34c6fa3e0fe9b4c7640090894493cdf (diff)
- turned the decimator (F9) button into a normal number button. the slider
was too small to display the number in it (amount of vertices). Also the range can be too large to make the slider display useful info. direct reason: mesh with 1 vertex made the slider draw corrupt.
-rw-r--r--source/blender/src/buttons_editing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 8afef017275..882df02e787 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -421,7 +421,7 @@ static void editing_panel_mesh_type(Object *ob, Mesh *me)
uiBlockBeginAlign(block);
uiBlockSetCol(block, TH_BUT_SETTING1);
- uiDefButI(block, NUMSLI,B_DECIM_FACES, "Decimator: ", 175,180,230,19, &decim_faces, 4.0, tottria, 10, 10, "Defines the number of triangular faces to decimate the active Mesh object to");
+ uiDefButI(block, NUM,B_DECIM_FACES, "Decimator:", 175,180,230,19, &decim_faces, 4.0, tottria, 10, 10, "Defines the number of triangular faces to decimate the active Mesh object to");
uiBlockSetCol(block, TH_AUTO);
uiDefBut(block, BUT,B_DECIM_APPLY, "Apply", 175,160,110,19, 0, 0, 0, 0, 0, "Applies the decimation to the active Mesh object");
uiDefBut(block, BUT,B_DECIM_CANCEL, "Cancel", 285,160,120,19, 0, 0, 0, 0, 0, "Restores the Mesh to its original number of faces");