You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Tweak after placement in world and local space using standard level editor gizmos. * Removed Single place tool settings. Since we're using the TRS gizmos, these settings are unnecessary. * Moved cycle through palette to shift + right click to match other viewport functions (i.e. cycling static mesh previews). * Placement mode now inherits from default ed mode, so we will get the new gizmos as they come online. * Fixed a bug in the select tool where the input was never making it back to the viewport for handling. * Fixed a bug in the ITF Editor hooks where the mouse capture was incorrectly reporting and eating the input from the viewport. #Jira UE-107395 [at]jamie.dale #ROBOMERGE-SOURCE: CL 15464701 in //UE5/Release-5.0-EarlyAccess/... #ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668) [CL 15466468 by brooke hubert in ue5-main branch]
29 lines
704 B
C++
29 lines
704 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Tools/PlacementClickDragToolBase.h"
|
|
#include "UObject/Object.h"
|
|
#include "ToolContextInterfaces.h"
|
|
#include "InteractiveToolManager.h"
|
|
#include "BaseGizmos/BrushStampIndicator.h"
|
|
|
|
void UPlacementClickDragToolBase::Setup()
|
|
{
|
|
Super::Setup();
|
|
|
|
RemoveToolPropertySource(BrushProperties);
|
|
}
|
|
|
|
double UPlacementClickDragToolBase::EstimateMaximumTargetDimension()
|
|
{
|
|
return Super::EstimateMaximumTargetDimension();
|
|
}
|
|
|
|
void UPlacementClickDragToolBase::SetupBrushStampIndicator()
|
|
{
|
|
Super::SetupBrushStampIndicator();
|
|
|
|
BrushStampIndicator->bDrawRadiusCircle = false;
|
|
BrushProperties->BrushSize = .5f;
|
|
BrushProperties->BrushFalloffAmount = 1.f;
|
|
}
|