浏览代码

*** empty log message ***

David Rose 25 年之前
父节点
当前提交
3a1b23c391
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      panda/src/sgmanip/nodePath.cxx

+ 1 - 0
panda/src/sgmanip/nodePath.cxx

@@ -2566,6 +2566,7 @@ r_get_net_transitions(const ArcComponent *comp,
 ////////////////////////////////////////////////////////////////////
 string NodePath::
 format_node_name(Node *dnode) const {
+  nassertr(dnode != (Node *)NULL, string());
   if (dnode == (Node *)NULL) {
     return "(NULL)";
   }