Fixed a boundary condition
This commit is contained in:
parent
3c120dc701
commit
4c7101e1c4
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue