Merge pull request 'fix(assembly): guard onChanged against solver during document restore' (#245) from fix/assembly-restore-segfault into main
Some checks failed
Build and Test / build (push) Has been cancelled
Some checks failed
Build and Test / build (push) Has been cancelled
Reviewed-on: #245
This commit was merged in pull request #245.
This commit is contained in:
@@ -139,6 +139,11 @@ App::DocumentObjectExecReturn* AssemblyObject::execute()
|
||||
|
||||
void AssemblyObject::onChanged(const App::Property* prop)
|
||||
{
|
||||
if (App::GetApplication().isRestoring()) {
|
||||
App::Part::onChanged(prop);
|
||||
return;
|
||||
}
|
||||
|
||||
if (prop == &Group) {
|
||||
updateSolveStatus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user