Fix LineGroup install & default issues

This commit is contained in:
WandererFan
2017-12-28 11:20:03 -05:00
committed by wmayer
parent 55f050e0f5
commit c548878069
3 changed files with 26 additions and 6 deletions

View File

@@ -54,11 +54,11 @@ LineGroup::~LineGroup()
void LineGroup::init(void)
{
m_name = "";
m_thin = 0.0;
m_graphic = 0.0;
m_thick = 0.0;
m_extra = 0.0;
m_name = "Default";
m_thin = 0.35;
m_graphic = 0.50;
m_thick = 0.70;
m_extra = 1.40;
}
double LineGroup::getWeight(std::string s)
@@ -132,7 +132,7 @@ std::string LineGroup::getRecordFromFile(std::string parmFile, std::string group
std::ifstream inFile;
inFile.open (parmFile, std::ifstream::in);
if(!inFile.is_open()) {
Base::Console().Message( "Cannot open input file: %s\n",parmFile.c_str());
Base::Console().Message( "Cannot open LineGroup file: %s\n",parmFile.c_str());
return record;
}