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:
authorTon Roosendaal <ton@blender.org>2004-09-24 16:40:37 +0400
committerTon Roosendaal <ton@blender.org>2004-09-24 16:40:37 +0400
commitf59503682d1afdb29079dccd642b4191ff9ecc1e (patch)
treefed8a2a9682a6a1892d03528d9bd2b7b27c20e36 /source/blender/src/editmesh_add.c
parentce12a0173c25fdb9cbe34aee194bdf62780230bc (diff)
- basic code for fake-polygon support (called FGon in code). Disabled now
- hide flags now save correctly in mesh, to restore after going in/out editmode - after an extrude, faces/edges could have wrong select flags (only in vertex select mode) - new rule for addfacelist(); this now copies edges too, if an example is provided. That prevents a lot of awkward code, still testing if it goes as desired though...
Diffstat (limited to 'source/blender/src/editmesh_add.c')
-rw-r--r--source/blender/src/editmesh_add.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c
index 2186735ecd3..8421228fb2a 100644
--- a/source/blender/src/editmesh_add.c
+++ b/source/blender/src/editmesh_add.c
@@ -190,7 +190,11 @@ void addedgeface_mesh(void)
makeDispList(G.obedit);
return;
}
- if(amount<2 || amount>4) {
+ else if(amount > 4) {
+ //make_fgon();
+ return;
+ }
+ else if(amount<2) {
error("Incorrect number of vertices to make edge/face");
return;
}