fix for VC9
This commit is contained in:
parent
10ff1e579d
commit
81ef381b66
|
@ -417,7 +417,7 @@ std::string ViewProviderFemMesh::getElement(const SoDetail* detail) const
|
||||||
//}
|
//}
|
||||||
else if (detail->getTypeId() == SoPointDetail::getClassTypeId()) {
|
else if (detail->getTypeId() == SoPointDetail::getClassTypeId()) {
|
||||||
const SoPointDetail* point_detail = static_cast<const SoPointDetail*>(detail);
|
const SoPointDetail* point_detail = static_cast<const SoPointDetail*>(detail);
|
||||||
auto idx = point_detail->getCoordinateIndex();
|
int idx = point_detail->getCoordinateIndex();
|
||||||
if (idx < vNodeElementIdx.size()) {
|
if (idx < vNodeElementIdx.size()) {
|
||||||
int vertex = vNodeElementIdx[point_detail->getCoordinateIndex()];
|
int vertex = vNodeElementIdx[point_detail->getCoordinateIndex()];
|
||||||
str << "Node" << vertex;
|
str << "Node" << vertex;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user