diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-03 14:25:27 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-03 14:25:27 +0300 |
commit | 691302f28dcf515cc99b1d7ad0c9e41970ab1fdd (patch) | |
tree | 9ba7ce787651c9715c9829b654477a18e34bf5c6 /source/blender/include/editmesh.h | |
parent | 318fb94c4b4c15c66737493436929393357b963c (diff) |
Two fixes;
- The function "convex()" in editmesh_lib() actually did not deliver
a proper test for convex at all. It was checking only if a quad could
be subdivided into 2 trias. Code for adding face (FKEY) used this
call in total confusing manner. That code was there in 1.40 already,
cannot find any clue what it was supposed todo... :)
Recoded convex() to deliver a proper test. FKEY will give warning on
attempt to make convex faces now.
- Added undo-free for editmode undo on file load
Diffstat (limited to 'source/blender/include/editmesh.h')
-rw-r--r-- | source/blender/include/editmesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/include/editmesh.h b/source/blender/include/editmesh.h index 4d40133317b..02834c71e5d 100644 --- a/source/blender/include/editmesh.h +++ b/source/blender/include/editmesh.h @@ -84,7 +84,7 @@ extern void delfaceflag(int flag); extern void rotateflag(short flag, float *cent, float rotmat[][3]); extern void translateflag(short flag, float *vec); -extern float convex(float *v1, float *v2, float *v3, float *v4); +extern int convex(float *v1, float *v2, float *v3, float *v4); /* ******************* editmesh_mods.c */ extern EditEdge *findnearestedge(short *dist); |