bReplaceRespectsScale
bReplaceRespectsScale
#Overview
name: bReplaceRespectsScale
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 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditorPerProjectUserSettings.ini:205, section: [/Script/UnrealEd.LevelEditorMiscSettings]
- INI Section:
/Script/UnrealEd.LevelEditorMiscSettings
- 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/UnrealEd/Classes/Settings/LevelEditorMiscSettings.h:41
Scope (from outer to inner):
file
class class ULevelEditorMiscSettings : public UDeveloperSettings
Source code excerpt:
/** If enabled, replacing actors will respect the scale of the original actor. Otherwise, the replaced actors will have a scale of 1.0 */
UPROPERTY(EditAnywhere, config, Category=Editing, meta=( DisplayName = "Preserve Actor Scale on Replace" ))
uint32 bReplaceRespectsScale:1;
/** If enabled, will avoid relabeling actors in UUnrealEdEngine::edactPasteSelected */
UPROPERTY(EditAnywhere, config, Category = Editing, meta = (DisplayName = "Avoid Actor Relabel on Paste Selected"))
uint32 bAvoidRelabelOnPasteSelected:1;
/** If enabled, will force checking references during a delete. Note: disabling this is for advanced usage only and not recommended.*/
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp:5472
Scope (from outer to inner):
file
function void UEditorEngine::ReplaceActors
Source code excerpt:
if(NewActorRootComponent)
{
if(!GetDefault<ULevelEditorMiscSettings>()->bReplaceRespectsScale || OldActor->GetRootComponent() == NULL )
{
NewActorRootComponent->SetRelativeScale3D(FVector(1.0f, 1.0f, 1.0f));
}
else
{
NewActorRootComponent->SetRelativeScale3D( OldActor->GetRootComponent()->GetRelativeScale3D() );