TOOLS: QV: a quick VRML parser Bug

Chet Murphy ([email protected])
Sat, 2 Dec 1995 18:33:28 -0700


I have found a bug in QV 1.0 source in the file QvSubField.h where the macro QV_MFIELD_SOURCE is defined for allocValues.

The statement
"for (int i = 0; i < num && i < numValues; i++) \"
should be changed to:
"for (int i = 0; i < num * numValues && i < numValues * newNum; i++) \"

This bug only impacts MFFields that 1) have more than one element and 2) use a constructor.

--Chet Murphy
ModelWorks Software
[email protected]


  • Next message: Greg Hale: "Chaco's site - Bad Test File(s)?"
  • Previous message: Mark E. Marshall: "Re: PHIL: copyrights, stsaling, copying, etc..."