Fix gcc build error

This commit is contained in:
wmayer 2013-03-11 10:57:01 +01:00
parent dadafaac53
commit a38d46900c

View File

@ -400,7 +400,7 @@ std::string ViewProviderFemMesh::getElement(const SoDetail* detail) const
const SoFaceDetail* face_detail = static_cast<const SoFaceDetail*>(detail);
unsigned long edx = vFaceElementIdx[face_detail->getFaceIndex()];
str << "Elem" << (edx>>unsigned long(3)) << "F"<< (edx&7);
str << "Elem" << (edx>>3) << "F"<< (edx&7);
}
//else if (detail->getTypeId() == SoLineDetail::getClassTypeId()) {
// const SoLineDetail* line_detail = static_cast<const SoLineDetail*>(detail);