@@ -127,7 +127,7 @@ TopoDS_Shape ShapeExtractor::getShapes(const std::vector<App::DocumentObject*> l
|
||||
}
|
||||
|
||||
if (obj->isDerivedFrom<App::Link>()) {
|
||||
App::Link* xLink = dynamic_cast<App::Link*>(obj);
|
||||
App::Link* xLink = static_cast<App::Link*>(obj);
|
||||
std::vector<TopoDS_Shape> xShapes = getXShapes(xLink);
|
||||
if (!xShapes.empty()) {
|
||||
sourceShapes.insert(sourceShapes.end(), xShapes.begin(), xShapes.end());
|
||||
|
||||
Reference in New Issue
Block a user