Commit Graph

14 Commits

Author SHA1 Message Date
brooke hubert
0d7a7d4e5d Placement tools use hit proxies to determine objects inside of brush radius instead of world sweeps.
Static mesh instances are only hooked up editor side via hit proxies, and won't register in a sweep since it only deals with limited types.

#preflight 60ccd086be81e80001e90434
#Jira UETOOL-3724
#rb jamie.dale
#fyi basil.pesin

[CL 16763208 by brooke hubert in ue5-main branch]
2021-06-23 17:43:35 -04:00
brooke hubert
5df00b6c31 Asset Placement mode and its tools use a context object from ITF to access typed element common actions and the selection set.
#Jira UE-110554
#preflight 6092d76f93d92d00018dcb74
#rb jamie.dale
#fyi christina.tempelaarl

[CL 16211739 by brooke hubert in ue5-main branch]
2021-05-05 15:22:49 -04:00
brooke hubert
4c9ee12f3a Mirror content browser selection as palette in placement mode.
#Jira UE-109549
#rb jamie.dale

#ROBOMERGE-SOURCE: CL 15658248 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15658290 by brooke hubert in ue5-main branch]
2021-03-09 15:48:44 -04:00
brooke hubert
c3dd003208 Dragging after placement now allows for scale and rotate.
Added an option to prevent auto selection after placement for more rapid placing.

#Jira UE-109548
#rb jamie.dale

#ROBOMERGE-SOURCE: CL 15570959 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15570975 by brooke hubert in ue5-main branch]
2021-03-02 13:31:36 -04:00
jamie dale
5fe914f2da Added runtime options for controlling typed element features
UE_TYPED_ELEMENT_HAS_REFTRACKING is now compiled in to Debug and Development builds, and is controlled at runtime by the "TypedElements.EnableReferenceTracking" CVar. This can be queried in code via FTypedElementReferences::ReferenceTrackingEnabled.

UE_ENABLE_SMINSTANCE_ELEMENTS has been removed, and is controlled at runtime by the "TypedElements.EnableSMInstanceElements" CVar. This can be queried in code via SMInstanceElementDataUtil::SMInstanceElementsEnabled.

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15541560 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15541563 by jamie dale in ue5-main branch]
2021-02-26 15:00:15 -04:00
brooke hubert
7499017917 Single place tool places static meshes as ISMs when ISM element handles are enabled.
Also fixed a bug where the ISM component was not rebuilding render data when using the placement subsystem.

#Jira UE-109265
#rb jamie.dale

#ROBOMERGE-SOURCE: CL 15528418 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15528424 by brooke hubert in ue5-main branch]
2021-02-25 10:59:38 -04:00
brooke hubert
3c55f7dd93 Hooked up remaining placement tool settings (world offset, local offset, negative scaling, negative rotation).
Disabled ISM placement in single place tool, since single selection of ISM is not hooked up yet.

#Jira UE-107395
#rb jamie.dale

#ROBOMERGE-SOURCE: CL 15493337 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15493396 by brooke hubert in ue5-main branch]
2021-02-22 16:14:49 -04:00
brooke hubert
17f0e31526 Placement Mode Single place tool improvements:
* 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]
2021-02-18 20:47:20 -04:00
brooke hubert
f670759821 Placement Single tool improvements:
* Preview actor to visualize placement.
* Ctrl + click to rotate to another item in the palette and regenerate rotation and scale.
* Configurable normal axis alignment.

Also fixed a crash on exiting the mode due to lingering mode toolkit references in the level editor.

#Jira UE-107395
[at]jamie.dale [at]chris.gagnon

#ROBOMERGE-SOURCE: CL 15449338 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15454762 by brooke hubert in ue5-main branch]
2021-02-18 13:43:48 -04:00
brooke hubert
6eaec5234e Move shared settings object to mode subsystem.
Add additional single placement settings.

#Jira UE-107395
#rb [at]jamie.dale

#ROBOMERGE-SOURCE: CL 15445800 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15454206 by brooke hubert in ue5-main branch]
2021-02-18 13:11:17 -04:00
brooke hubert
3235837275 Asset Placement Mode's paint tool implemented.
#Jira UE-104231
#rb chris.gagnon jamie.dale

[CL 15132649 by brooke hubert in ue5-main branch]
2021-01-18 17:19:43 -04:00
brooke hubert
7ab76f1a7b Created Static Mesh placement factory which handles both actor static mesh placement and instanced static mesh placement.
#Jira UE-103648
#rb jamie.dale

[CL 15097518 by brooke hubert in ue5-main branch]
2021-01-14 18:32:59 -04:00
brooke hubert
1cde48799c Initial Asset Palette, selection, and single place tool functioning in placement mode.
# Removed "reapply settings" since this was a tool that was specific to UFoliageType data blueprint changes being reapplied to already placed foliage.

#Jira UE-98160
#rb chris.gagnon jamie.dale

[CL 14878986 by brooke hubert in ue5-main branch]
2020-12-08 11:27:52 -04:00
brooke hubert
d4c157384c Initial Creation of Asset Placement Mode UI for tools and commands.
# Added a save and load config on the settings class for UEdMode so mode wide settings would be sticky between runs.
# Removed FString refs in some functions so they could be bound using UObject delegate methods.

#rnx
#Jira UE-98157
#review-14449500
#rb lauren.barnes

[CL 14451570 by brooke hubert in ue5-main branch]
2020-10-08 18:56:55 -04:00