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>2006-04-05 21:11:01 +0400
committerTon Roosendaal <ton@blender.org>2006-04-05 21:11:01 +0400
commit1772b62d223cd8d425572ba39b77868cae283239 (patch)
treefc519497197af28397b6d24be66a414b6244ac99
parent97407950d336b3d4c1153393cd41cb4bff661616 (diff)
Bugfix #4009
Missing redraw in menu to choose 'metric' for Voronoi texture.
-rw-r--r--source/blender/src/buttons_shading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c
index 5cdefad3dcc..ed744978900 100644
--- a/source/blender/src/buttons_shading.c
+++ b/source/blender/src/buttons_shading.c
@@ -823,7 +823,7 @@ static void texture_panel_voronoi(Tex *tex)
/* distance metric */
sprintf(dm_menu, "Distance Metric %%t|Actual Distance %%x%d|Distance Squared %%x%d|Manhattan %%x%d|Chebychev %%x%d|Minkovsky 1/2 %%x%d|Minkovsky 4 %%x%d|Minkovsky %%x%d", TEX_DISTANCE, TEX_DISTANCE_SQUARED, TEX_MANHATTAN, TEX_CHEBYCHEV, TEX_MINKOVSKY_HALF, TEX_MINKOVSKY_FOUR, TEX_MINKOVSKY);
- uiDefBut(block, LABEL, 0, "Distance Metric", 10, 160, 150, 19, 0, 0, 0, 0, 0, "");
+ uiDefBut(block, LABEL, B_TEXPRV, "Distance Metric", 10, 160, 150, 19, 0, 0, 0, 0, 0, "");
uiDefButS(block, MENU, B_TEXPRV, dm_menu, 10, 140, 150, 19, &tex->vn_distm, 0,0,0,0, "Sets the distance metric to be used");
if (tex->vn_distm==TEX_MINKOVSKY)