[2970566] dxf import bug/limitation. Thanks to fgasnier for the hint.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@609 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
8bb198e794
commit
77a00c6d27
|
@ -327,21 +327,14 @@ bool DXFImporter::ParseEntities()
|
||||||
while (GetNextToken()) {
|
while (GetNextToken()) {
|
||||||
if (!groupCode) {
|
if (!groupCode) {
|
||||||
if (!::strcmp(cursor,"3DFACE") || !::strcmp(cursor,"LINE") || !::strcmp(cursor,"3DLINE")){
|
if (!::strcmp(cursor,"3DFACE") || !::strcmp(cursor,"LINE") || !::strcmp(cursor,"3DLINE")){
|
||||||
if (!Parse3DFace()) {
|
//http://sourceforge.net/tracker/index.php?func=detail&aid=2970566&group_id=226462&atid=1067632
|
||||||
return false;
|
Parse3DFace();
|
||||||
}
|
|
||||||
else {
|
|
||||||
bRepeat = true;
|
bRepeat = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!::strcmp(cursor,"POLYLINE") || !::strcmp(cursor,"LWPOLYLINE")){
|
if (!::strcmp(cursor,"POLYLINE") || !::strcmp(cursor,"LWPOLYLINE")){
|
||||||
if (!ParsePolyLine()) {
|
ParsePolyLine();
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
bRepeat = true;
|
bRepeat = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!::strcmp(cursor,"ENDSEC")) {
|
if (!::strcmp(cursor,"ENDSEC")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue