*** empty log message ***

This commit is contained in:
Josh Yelon 2007-05-15 20:55:28 +00:00
parent 7e08d7b759
commit ee2fd9311c
1 changed files with 3 additions and 0 deletions

View File

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