[mod] removed unused variable

removed unused variable
This commit is contained in:
mosfet80+
2024-05-20 21:10:01 +02:00
committed by wwmayer
parent 6a6aa26a1c
commit cc96fcae66

View File

@@ -540,7 +540,6 @@ void ImportXCAF::createShape(const TopoDS_Shape& shape, bool perface, bool setna
xp.Next();
}
bool found_face_color = false;
std::vector<App::Color> faceColors;
faceColors.resize(faces.Extent(), partColor);
xp.Init(shape, TopAbs_FACE);
@@ -549,7 +548,6 @@ void ImportXCAF::createShape(const TopoDS_Shape& shape, bool perface, bool setna
if (jt != myColorMap.end()) {
int index = faces.FindIndex(xp.Current());
faceColors[index - 1] = convertColor(jt->second);
found_face_color = true;
}
xp.Next();
}