Use correct flag

This commit is contained in:
theo-vt
2025-07-13 22:50:21 -04:00
committed by Chris Hennes
parent bf2cd60553
commit e5a206a2e4

View File

@@ -1119,7 +1119,7 @@ static TopoShape _getTopoShape(const App::DocumentObject* obj,
&& (!link || (!link->_ChildCache.getSize() && link->getSubElements().size() <= 1))) {
// if there is a linked object, and there is no child cache (which is used
// for special handling of plain group), obtain shape from the linked object
shape = Feature::getTopoShape(linked, ShapeOption::ResolveLink | ShapeOption::Transform);
shape = Feature::getTopoShape(linked, ShapeOption::NoFlag);
if (shape.isNull()) {
return shape;
}
@@ -1144,8 +1144,7 @@ static TopoShape _getTopoShape(const App::DocumentObject* obj,
if (link && link->getElementCountValue()) {
linked = link->getTrueLinkedObject(false, &baseMat);
if (linked && linked != owner) {
baseShape =
Feature::getTopoShape(linked, ShapeOption::ResolveLink | ShapeOption::Transform);
baseShape = Feature::getTopoShape(linked, ShapeOption::NoFlag);
if (!link->getShowElementValue()) {
baseShape.reTagElementMap(owner->getID(),
owner->getDocument()->getStringHasher());