浏览代码

minor change

David Rose 17 年之前
父节点
当前提交
6e3c93ce2f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/pgraph/renderAttrib.cxx

+ 1 - 0
panda/src/pgraph/renderAttrib.cxx

@@ -430,6 +430,7 @@ release_new() {
 #ifndef NDEBUG
 #ifndef NDEBUG
     nassertd(_attribs->find(this) == _saved_entry) {
     nassertd(_attribs->find(this) == _saved_entry) {
       cerr << "Tried to release " << *this << " (" << (void *)this << "), not found!\n";
       cerr << "Tried to release " << *this << " (" << (void *)this << "), not found!\n";
+      validate_attribs();
       Attribs::const_iterator si = _attribs->begin();
       Attribs::const_iterator si = _attribs->begin();
       if (si == _attribs->end()) {
       if (si == _attribs->end()) {
         cerr << "  Attribs list is empty.\n";
         cerr << "  Attribs list is empty.\n";