diff options
author | Ton Roosendaal <ton@blender.org> | 2006-04-09 23:10:41 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-04-09 23:10:41 +0400 |
commit | b2b1b7c90b0c9c22095b82fbc9e7f9344283c3bf (patch) | |
tree | 70e3d441a14f66041e565ec45216ecdaf82d5f5b /source/blender/src/editmesh.c | |
parent | 13cd984f6c38d86014b6333b545eb1da29263d60 (diff) |
Bugfix #3778
Removed the haha-fun "eekadoodle" error, which was popping up for each
faulty face (could be 1000s), and renamed it to give a proper message:
"This Mesh has old style edgecodes, please put it in the bugtracker!"
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r-- | source/blender/src/editmesh.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index 8206373611e..674d9c7d100 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -725,7 +725,7 @@ void make_editMesh() EditFace *efa; EditEdge *eed; EditSelection *ese; - int tot, a; + int tot, a, eekadoodle= 0; /* because of reload */ free_editMesh(G.editMesh); @@ -813,7 +813,7 @@ void make_editMesh() for(a=0; a<me->totface; a++, mface++) { eve1= evlist[mface->v1]; eve2= evlist[mface->v2]; - if(!mface->v3) error("Eeekadoodle! An MFACE-EDGE! Tell Zr!!!!"); + if(!mface->v3) eekadoodle= 1; eve3= evlist[mface->v3]; if(mface->v4) eve4= evlist[mface->v4]; else eve4= NULL; @@ -851,6 +851,9 @@ void make_editMesh() } } + if(eekadoodle) + error("This Mesh has old style edgecodes, please put it in the bugtracker!"); + MEM_freeN(evlist); end_editmesh_fastmalloc(); // resets global function pointers |