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:
authorNathan Letwory <nathan@letworyinteractive.com>2004-04-09 11:42:43 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2004-04-09 11:42:43 +0400
commit1c3a1ba3612c47a68aa4fbb56d5d487cf90310f6 (patch)
treea84196b6b2852351717c8f27928dc664a4363568 /source/blender/src/booleanops.c
parent0e9e6bdc7242b4cfd5016f9ad99227784bb41d2f (diff)
Tell the user he is trying to do a boolean op with a faceless mesh, instead of spewing a meaningless "An internal error occurred -- sorry" message.
Diffstat (limited to 'source/blender/src/booleanops.c')
-rw-r--r--source/blender/src/booleanops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/booleanops.c b/source/blender/src/booleanops.c
index 6edcf206870..0ced994fd56 100644
--- a/source/blender/src/booleanops.c
+++ b/source/blender/src/booleanops.c
@@ -412,9 +412,9 @@ NewBooleanMesh(
if (me == NULL || me2 == NULL) return 0;
success = has_faces(me);
- if(success==0) return 0;
+ if(success==0) return -1;
success = has_faces(me2);
- if(success==0) return 0;
+ if(success==0) return -1;
success = 0;