diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2004-04-09 11:42:43 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2004-04-09 11:42:43 +0400 |
commit | 1c3a1ba3612c47a68aa4fbb56d5d487cf90310f6 (patch) | |
tree | a84196b6b2852351717c8f27928dc664a4363568 /source/blender/src/booleanops.c | |
parent | 0e9e6bdc7242b4cfd5016f9ad99227784bb41d2f (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.c | 4 |
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; |