Fixed a boundary condition

This commit is contained in:
Josh Yelon 2007-05-16 19:07:44 +00:00
parent 3c120dc701
commit 4c7101e1c4
1 changed files with 3 additions and 0 deletions

View File

@ -378,6 +378,9 @@ get_object() {
INLINE const unsigned char *GeomVertexArrayDataHandle::
get_pointer() const {
check_resident();
if (_cdata->_data.size() == 0) {
return NULL;
}
return &_cdata->_data[0];
}