|
|
@ -1534,12 +1534,13 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy, |
|
|
|
{ |
|
|
|
{ |
|
|
|
freezeW3CWidgets(true); |
|
|
|
freezeW3CWidgets(true); |
|
|
|
|
|
|
|
|
|
|
|
persistCurrentScene(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClearUndoStack(); |
|
|
|
ClearUndoStack(); |
|
|
|
|
|
|
|
|
|
|
|
mActiveScene = targetScene; |
|
|
|
mActiveScene = targetScene; |
|
|
|
mActiveSceneIndex = index; |
|
|
|
mActiveSceneIndex = index; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
persistCurrentScene(); |
|
|
|
|
|
|
|
|
|
|
|
setDocument(pDocumentProxy, forceReload); |
|
|
|
setDocument(pDocumentProxy, forceReload); |
|
|
|
|
|
|
|
|
|
|
|
updateSystemScaleFactor(); |
|
|
|
updateSystemScaleFactor(); |
|
|
|