浏览代码

fix error message to display the numbers that actually caused the problem

David Rose 18 年之前
父节点
当前提交
711e1faaa6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      direct/src/distributed/cDistributedSmoothNodeBase.cxx

+ 2 - 2
direct/src/distributed/cDistributedSmoothNodeBase.cxx

@@ -338,8 +338,8 @@ finish_send_update(DCPacker &packer) {
     if (packer.had_range_error()) {
       ostringstream error;
       error << "Node position out of range for DC file: "
-            << _node_path << " pos = " << _node_path.get_pos()
-            << " hpr = " << _node_path.get_hpr();
+            << _node_path << " pos = " << _store_xyz
+            << " hpr = " << _store_hpr;
       nassert_raise(error.str());
 
     } else {