assertion to prevent crash

This commit is contained in:
David Rose 2005-11-29 19:00:12 +00:00
parent 63e6ddf78a
commit 56a7c5b2fd
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ void PStatReader::
dequeue_frame_data() {
while (!_queued_frame_data.empty()) {
const FrameData &data = _queued_frame_data.front();
nassertv(_client_data != (PStatClientData *)NULL);
// Check to see if any new collectors have level data.
int num_levels = data._frame_data->get_num_levels();