Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type

This commit is contained in:
wmayer
2013-03-30 12:32:53 +01:00
parent b24f0efbc1
commit f69b57459b
13 changed files with 64 additions and 167 deletions

View File

@@ -444,10 +444,10 @@ void PropertyCurvatureList::setValues(const std::vector<CurvatureInfo>& lValues)
hasSetValue();
}
std::vector<double> PropertyCurvatureList::getCurvature( int mode ) const
std::vector<float> PropertyCurvatureList::getCurvature( int mode ) const
{
const std::vector<Points::CurvatureInfo>& fCurvInfo = getValues();
std::vector<double> fValues;
std::vector<float> fValues;
fValues.reserve(fCurvInfo.size());
// Mean curvature