bShouldPromptOnCurveRemoveAll
bShouldPromptOnCurveRemoveAll
#Overview
name: bShouldPromptOnCurveRemoveAll
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditor.ini:282, section: [CurveEditor]
- INI Section:
CurveEditor
- Raw value:
true
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/DistCurveEditor/Private/SDistributionCurveEditor.cpp:535
Scope (from outer to inner):
file
function void SDistributionCurveEditor::OnRemoveAllCurves
Source code excerpt:
void SDistributionCurveEditor::OnRemoveAllCurves()
{
bool bShouldPromptOnCurveRemoveAll;
GConfig->GetBool(TEXT("CurveEditor"), TEXT("bShouldPromptOnCurveRemoveAll"), bShouldPromptOnCurveRemoveAll, GEditorIni);
if (!bShouldPromptOnCurveRemoveAll || EAppReturnType::Yes == FMessageDialog::Open(EAppMsgType::YesNo, LOCTEXT("RemoveAllCurvesPrompt", "Are you sure you want to 'Remove All Curves'?")))
{
for (int32 TabIndex = 0; TabIndex < SharedData->EdSetup->Tabs.Num(); TabIndex++)
{
SharedData->EdSetup->Tabs[TabIndex].Curves.Empty();
}