Browse Source

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

David Rose 18 years ago
parent
commit
711e1faaa6
1 changed files with 2 additions and 2 deletions
  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()) {
     if (packer.had_range_error()) {
       ostringstream error;
       ostringstream error;
       error << "Node position out of range for DC file: "
       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());
       nassert_raise(error.str());
 
 
     } else {
     } else {