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:
authorAlexander Ewering <blender@instinctive.de>2003-12-20 16:46:50 +0300
committerAlexander Ewering <blender@instinctive.de>2003-12-20 16:46:50 +0300
commit16eec383fda747ff97b44e3f93cfc7e0b1033174 (patch)
tree296cb799d2b27024346d32712b60b0ef9129a87e /source/blender/src
parent0060be66035a13939f7d9f8f8e27170c709e82f4 (diff)
Fixed the call to CalcNormFloat to use neweve[]->co.
Goofster: The difference between you and Ton reporting the problem was that he actually took the time to analyze the warning and pin down the problem, while your "hahaha, your code has a warning!" didn't really help me a lot in the first place.
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/editmesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index f3edd94fa49..226c6f96609 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -8392,7 +8392,7 @@ void bevel_mesh(float bsize, int allfaces)
}
if(evl) {
float inp;
- CalcNormFloat(neweve[0], neweve[1], neweve[2], evl->n);
+ CalcNormFloat(neweve[0]->co, neweve[1]->co, neweve[2]->co, evl->n);
inp= evl->n[0]*G.vd->viewmat[0][2] + evl->n[1]*G.vd->viewmat[1][2] + evl->n[2]*G.vd->viewmat[2][2];
if(inp < 0.0) flipvlak(evl);
#ifdef BEV_DEBUG