PD: [skip ci] fixes #0004139: Macro - SubtractivePipe attached path object issues after macro executed
This commit is contained in:
@@ -524,6 +524,11 @@ bool TaskPipeParameters::accept()
|
||||
}
|
||||
|
||||
try {
|
||||
App::DocumentObject* spine = pcPipe->Spine.getValue();
|
||||
std::vector<std::string> subNames = pcPipe->Spine.getSubValues();
|
||||
App::PropertyLinkT propT(spine, subNames);
|
||||
Gui::cmdAppObjectArgs(pcPipe, "Spine = %s", propT.getPropertyPython());
|
||||
|
||||
Gui::cmdAppDocument(pcPipe, "recompute()");
|
||||
if (!vp->getObject()->isValid())
|
||||
throw Base::RuntimeError(vp->getObject()->getStatusString());
|
||||
|
||||
Reference in New Issue
Block a user