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:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-01-09 02:52:59 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-09 02:52:59 +0300
commit8a5a220108c6a445ea110e7c4223f97eb91455ef (patch)
tree45d420b87133ea3816b54d27b4f37b4adddcbf71 /source/blender/src/multires.c
parentcda359c358082bec1b5c9d91362fd4cf8dc9af97 (diff)
Multires bugfix: wrong interpolation value for weights on triangle faces.
Diffstat (limited to 'source/blender/src/multires.c')
-rw-r--r--source/blender/src/multires.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c
index 180fc65a9a3..06057912014 100644
--- a/source/blender/src/multires.c
+++ b/source/blender/src/multires.c
@@ -1243,7 +1243,7 @@ void multires_level_to_mesh(Object *ob, Mesh *me)
for(j=0; j<(dlvl->prev->faces[i].v[3]?4:3); ++j)
multires_add_dvert(&lvl_dverts[dlvl_ndx][dlvl->prev->totvert+dlvl->prev->totedge+i],
&source[dlvl->prev->faces[i].v[j]],
- dlvl->prev->faces[i].v[3]?0.25:(1/3));
+ dlvl->prev->faces[i].v[3]?0.25:(1.0f/3.0f));
}
++dlvl_ndx;