Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gui: fix ViewProviderDocumentObject display mode restore
C++ view provider will get the call of attach() before restoring properties. However, python view object will delay the call until Proxy is restored. The reason why this problem did not show up eariler is because ViewProviderPythonFeature::getDefaultDisplayMode() did not fallback to its parent implementation if there is no Python override. This can be considered as a bug, which is fixed during the merge. And the display mode restore problem is the side effect of the fix.
- Loading branch information