diff --git a/src/modules/RevealedPathModule.cpp b/src/modules/RevealedPathModule.cpp index bcd769bd90052b9ff369cc9876732a069d7aac09..0af1d96090512527326dbf9ae4ddfb7d2cefeb44 100644 --- a/src/modules/RevealedPathModule.cpp +++ b/src/modules/RevealedPathModule.cpp @@ -72,7 +72,7 @@ RevealedPathModule::RevealedPathModule(): RevealedModule() { m_attributesMap["inside_structure"]->setStrings(vector<string>(1,"along_z")); - m_attributesMap["thickness"]->setFloats(vector<float>(1,100)); + m_attributesMap["thickness"]->setFloats(vector<float>(1, 20)); m_attributesMap["edges"]->setInts(vector<int>(1,8)); m_attributesMap["gradient_type"]->setStrings(vector<string>(1, "along_z")); vector<string> mods(1, "select_module"); @@ -197,7 +197,7 @@ void RevealedPathModule::refreshGeometry() { m_subShapeInvMats.clear(); - if(m_points.size()>0) { + if(m_points.size()>1) { //create all vertices glm::vec3 dirZ(0, 0, 1); unsigned int preC=0;