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:
-rw-r--r--source/blender/src/buttons_shading.c10
-rw-r--r--source/blender/src/drawmesh.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c
index 12aedd5ba1a..551571b18b2 100644
--- a/source/blender/src/buttons_shading.c
+++ b/source/blender/src/buttons_shading.c
@@ -2989,12 +2989,12 @@ static void material_panel_material(Object *ob, Material *ma)
if(ma->dynamode & MA_DRAW_DYNABUTS) {
uiBlockBeginAlign(block);
uiDefButF(block, NUMSLI, 0, "Restitut ", 128,120,175,20, &ma->reflect, 0.0, 1.0, 0, 0, "Elasticity of collisions");
- uiDefButF(block, NUMSLI, 0, "Friction ", 128,82 ,175,20, &ma->friction, 0.0, 100.0, 0, 0, "Coulomb friction coefficient");
- uiDefButF(block, NUMSLI, 0, "Fh Force ", 128,76 ,175,20, &ma->fh, 0.0, 1.0, 0, 0, "Upward spring force within the Fh area");
- uiBlockEndAlign(block);
+ uiDefButF(block, NUMSLI, 0, "Friction ", 128,100 ,175,20, &ma->friction, 0.0, 100.0, 0, 0, "Coulomb friction coefficient");
+ uiDefButF(block, NUMSLI, 0, "Fh Force ", 128,80 ,175,20, &ma->fh, 0.0, 1.0, 0, 0, "Upward spring force within the Fh area");
+ uiBlockBeginAlign(block);
uiDefButF(block, NUM, 0, "Fh Damp ", 8,120,100,20, &ma->xyfrict, 0.0, 1.0, 10, 0, "Damping of the Fh spring force");
- uiDefButF(block, NUM, 0, "Fh Dist ", 8,98 ,100,20, &ma->fhdist, 0.0, 20.0, 10, 0, "Height of the Fh area");
- uiDefButS(block, TOG|BIT|1, 0, "Fh Norm", 8,76 ,100,20, &ma->dynamode, 0.0, 0.0, 0, 0, "Add a horizontal spring force on slopes");
+ uiDefButF(block, NUM, 0, "Fh Dist ", 8,100 ,100,20, &ma->fhdist, 0.0, 20.0, 10, 0, "Height of the Fh area");
+ uiDefButS(block, TOG|BIT|1, 0, "Fh Norm", 8,80 ,100,20, &ma->dynamode, 0.0, 0.0, 0, 0, "Add a horizontal spring force on slopes");
}
else {
if(!(ma->mode & MA_HALO)) {
diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c
index 538de071b85..a52ac094081 100644
--- a/source/blender/src/drawmesh.c
+++ b/source/blender/src/drawmesh.c
@@ -931,7 +931,7 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
if(v3idx==0) continue;
- set_draw_settings_cached(0, 0, NULL, 1, ob, matnr, TF_TWOSIDE);
+ set_draw_settings_cached(0, 0, NULL, islight, ob, matnr, TF_TWOSIDE);
if (extverts) {
v1= extverts+3*v1idx;