don't count empty objects
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7142 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5af7a6e5caece5a1098453a900f67e2cbe9104da Former-commit-id: d4251a6463cecebc9abfd487ab41b1169a73bc1a
This commit is contained in:
parent
69826d0080
commit
24a0bbc114
1 changed files with 6 additions and 0 deletions
|
@ -4588,6 +4588,12 @@ void computeSaveAC3DStrip(char * OutputFilename, ob_t * object)
|
|||
tmpob = tmpob->next;
|
||||
continue;
|
||||
}
|
||||
/* don't count empty objects */
|
||||
if (strcmp(tmpob->type, "poly") == 0 && tmpob->numvert == 0 && tmpob->numsurf == 0 && tmpob->kids == 0)
|
||||
{
|
||||
tmpob = tmpob->next;
|
||||
continue;
|
||||
}
|
||||
numg++;
|
||||
tmpob->saved = 0;
|
||||
tmpob = tmpob->next;
|
||||
|
|
Loading…
Reference in a new issue