corrected error (meshmodel -> CMeshO)

This commit is contained in:
Paolo Cignoni 2018-02-16 19:24:49 +01:00
parent d69fc93b42
commit eb023c2aae
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ cache:
directories:
- $HOME/Library/Caches/Homebrew
- $HOME/vcglib
- $HOME/meshlab/src/external/lib/macx64
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH="/usr/local/opt/llvm/bin:$PATH" ;fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which clang ;fi

View File

@ -297,7 +297,7 @@ bool BaseMeshIOPlugin::save(const QString &formatName, const QString &fileName,
}
else if (pname.startsWith("PVA3F")){ // if pname starts with PVA3F, it is a PLY per-vertex point3f custom attribute
if (par.findParameter(pname)->val->getBool()) // if it is true, add to save list
pi.AddPerVertexPoint3fAttribute(m, qUtf8Printable(pname.mid(5)));
pi.AddPerVertexPoint3fAttribute(m.cm, qUtf8Printable(pname.mid(5)));
}
else if (pname.startsWith("PFAF")){ // if pname starts with PFAF, it is a PLY per-face float custom attribute
if (par.findParameter(pname)->val->getBool()) // if it is true, add to save list