[cgma-dev] r4807 - cgm/trunk/itaps
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Mon May 9 10:35:07 CDT 2011
Author: janehu
Date: 2011-05-09 10:35:03 -0500 (Mon, 09 May 2011)
New Revision: 4807
Added:
cgm/trunk/itaps/tridata1.cub
Modified:
cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Fix for .cub file read in for special cases. please run testgeom with tridata1.cub for testing. It should successfully create one volume.
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc 2011-05-06 23:13:40 UTC (rev 4806)
+++ cgm/trunk/itaps/iGeom_CGMA.cc 2011-05-09 15:35:03 UTC (rev 4807)
@@ -6324,9 +6324,9 @@
// get the model table
int model_entries[36], model_offset[6],
model_length[6], model_type[6];
- if (num_models > 6) {
- ERROR(iBase_INVALID_ARGUMENT, "Too many models in .cub file.");
- }
+ //if (num_models > 6) {
+ // ERROR(iBase_INVALID_ARGUMENT, "Too many models in .cub file.");
+ //}
if (model_table_offset+24*num_models-1 > endpos) {
ERROR(iBase_FAILURE, "Reading model table will go past end of file.");
Added: cgm/trunk/itaps/tridata1.cub
===================================================================
(Binary files differ)
Property changes on: cgm/trunk/itaps/tridata1.cub
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:mime-type
+ application/octet-stream
More information about the cgma-dev
mailing list