Skip to content

Commit

Permalink
Tidy up egs_view debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
rtownson committed Jul 5, 2022
1 parent 2b7a457 commit b070748
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions HEN_HOUSE/egs++/view/viewcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,22 +450,22 @@ GeometryViewControl::GeometryViewControl(QWidget *parent, const char *name)
vector<shared_ptr<EGS_SingleInput>> singleInputs = shape->getSingleInputs();
for (auto &inp : singleInputs) {
const vector<string> vals = inp->getValues();
egsInformation(" single %s\n", inp->getTag().c_str());
for (auto&& val : vals) {
egsInformation(" %s\n", val.c_str());
}
// egsInformation(" single %s\n", inp->getTag().c_str());
// for (auto&& val : vals) {
// egsInformation(" %s\n", val.c_str());
// }
}

vector<shared_ptr<EGS_BlockInput>> inputBlocks = shape->getBlockInputs();
for (auto &block : inputBlocks) {
egsInformation(" block %s\n", block->getTitle().c_str());
//egsInformation(" block %s\n", block->getTitle().c_str());
vector<shared_ptr<EGS_SingleInput>> singleInputs = block->getSingleInputs();
for (auto &inp : singleInputs) {
const vector<string> vals = inp->getValues();
egsInformation(" single %s\n", inp->getTag().c_str());
for (auto&& val : vals) {
egsInformation(" %s\n", val.c_str());
}
// egsInformation(" single %s\n", inp->getTag().c_str());
// for (auto&& val : vals) {
// egsInformation(" %s\n", val.c_str());
// }
}
}
}
Expand Down

0 comments on commit b070748

Please sign in to comment.