diff --git a/panda/src/pgraph/renderAttrib.cxx b/panda/src/pgraph/renderAttrib.cxx index 1cf58b1c71..2148633bb2 100644 --- a/panda/src/pgraph/renderAttrib.cxx +++ b/panda/src/pgraph/renderAttrib.cxx @@ -430,6 +430,7 @@ release_new() { #ifndef NDEBUG nassertd(_attribs->find(this) == _saved_entry) { cerr << "Tried to release " << *this << " (" << (void *)this << "), not found!\n"; + validate_attribs(); Attribs::const_iterator si = _attribs->begin(); if (si == _attribs->end()) { cerr << " Attribs list is empty.\n";