- Timestamp:
- 10/01/09 22:19:42 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ive/DrawElementsUShort.cpp
r7648 r10600 35 35 // Write array length and its elements. 36 36 out->writeInt(size()); 37 out->writeCharArray((const char*)&front(), size() * SHORTSIZE);37 if (size()!=0) out->writeCharArray((const char*)&front(), size() * SHORTSIZE); 38 38 } 39 39
