projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1992d14
)
0023023: VRML reader fails on attempt to read an attached WRL file
author
vro
<vro@opencascade.com>
Thu, 22 Mar 2012 05:06:16 +0000
(09:06 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Fri, 23 Mar 2012 14:04:44 +0000
(18:04 +0400)
src/VrmlData/VrmlData_Geometry.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/VrmlData/VrmlData_Geometry.cxx
b/src/VrmlData/VrmlData_Geometry.cxx
index
96485a1
..
66ed70c
100755
(executable)
--- a/
src/VrmlData/VrmlData_Geometry.cxx
+++ b/
src/VrmlData/VrmlData_Geometry.cxx
@@
-589,12
+589,10
@@
VrmlData_ErrorStatus VrmlData_TextureCoordinate::Read
break;
if (theBuffer.LinePtr[0] == ',') {
theBuffer.LinePtr++;
- continue;
- } else if (theBuffer.LinePtr[0] == ']') // closing bracket
+ } else if (theBuffer.LinePtr[0] == ']') { // closing bracket
theBuffer.LinePtr++;
- else
- aStatus = VrmlData_VrmlFormatError;
- break;
+ break;
+ }
}
}
if (OK(aStatus) && OK(aStatus, readBrace (theBuffer))) {