This commit adds getShape and setShape to TopoShape
This commit is contained in:
committed by
wmayer
parent
5a30a43862
commit
7f4a437cc2
@@ -179,7 +179,7 @@ void ViewProviderTransformed::recomputeFeature(void)
|
||||
TopoDS_Shape shape;
|
||||
if ((o->first)->getTypeId().isDerivedFrom(PartDesign::FeatureAddSub::getClassTypeId())) {
|
||||
PartDesign::FeatureAddSub* feature = static_cast<PartDesign::FeatureAddSub*>(o->first);
|
||||
shape = feature->AddSubShape.getShape()._Shape;
|
||||
shape = feature->AddSubShape.getShape().getShape();
|
||||
}
|
||||
|
||||
if (shape.IsNull()) continue;
|
||||
|
||||
Reference in New Issue
Block a user