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:
authorCampbell Barton <ideasman42@gmail.com>2013-06-10 14:55:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-10 14:55:57 +0400
commitbff8a4c594c84d2ab14111897afedd0d8a8804d9 (patch)
treefa180918e76ca8cfb7418eaae9bfd7b717996918 /source/blender/bmesh/operators/bmo_subdivide.c
parente8408efdba5cbae770fc6f9a0347440401587be1 (diff)
correction to typo in r57327, ui-load wasnt working on splash screen.
also minor changes: - update the load-UI flag when changing in the preferences. - remove unused initialization values for subdivide.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_subdivide.c')
-rw-r--r--source/blender/bmesh/operators/bmo_subdivide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c
index be0b7eed971..7fbc6f48350 100644
--- a/source/blender/bmesh/operators/bmo_subdivide.c
+++ b/source/blender/bmesh/operators/bmo_subdivide.c
@@ -209,8 +209,8 @@ static void alter_co(BMVert *v, BMEdge *UNUSED(origed), const SubDParams *params
}
if (params->use_fractal) {
- float len = len_v3v3(vsta->co, vend->co);
- float normal[3] = {0.0f, 0.0f, 0.0f}, co2[3], base1[3], base2[3];
+ const float len = len_v3v3(vsta->co, vend->co);
+ float normal[3], co2[3], base1[3], base2[3];
fac = params->fractal * len;