[PD] fix change primitive AttachmentOffset move the body

This commit is contained in:
Florian Foinant-Willig
2024-10-02 10:39:16 +02:00
parent 299c27ab12
commit 49ff068db8

View File

@@ -139,6 +139,10 @@ App::DocumentObjectExecReturn* FeaturePrimitive::execute(const TopoDS_Shape& pri
void FeaturePrimitive::onChanged(const App::Property* prop)
{
if (prop == &AttachmentOffset){
this->touch();
return;
}
FeatureAddSub::onChanged(prop);
}