Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorInteractiveToolsContext
Description
Configure whether tools should shutdown when the world is saving. By default, the context will shut down any active tools on save. Setting this to true will prevent this, but the system makes no promises about whether tools work properly across a save. Therefore, do not use this if you do not know for certain that it is safe to persist tools across a save in your situation.
| Name | SetDeactivateToolsOnSaveWorld |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/EdModeInteractiveToolsContext.h |
| Include Path | #include "Tools/EdModeInteractiveToolsContext.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Tools/EdModeInteractiveToolsContext.cpp |
void SetDeactivateToolsOnSaveWorld
(
bool bDeactivateTools
)