Commit Graph

11555 Commits

Author SHA1 Message Date
dylan fansler
b4e1dc4c97 nullcheck for editor selection in case invalid postundo call occurs
#tests Copied actors and exited editor while in session and without saving
#rb Cory.Kolek, josh.may, Rex.Hill, urias.rooney

[CL 30088153 by dylan fansler in ue5-main branch]
2023-12-04 13:03:18 -05:00
charles bloom
a0833b61c6 TextureRenderTarget clean up some hard-coding of specific format support; make it more generic
mostly comments clarifying things

[CL 30065533 by charles bloom in ue5-main branch]
2023-12-01 21:01:42 -05:00
sebastian arleryd
51b453c542 Make it possible to move the UE window by dragging the project badge
* Pad around the SProjectBadge text by using the margin attribute of its SText instead of wrapping the SText in an SBorder. This is needed because the SBorder doesn't override SWidget::GetWindowZoneOverride, and therefore the window cannot be dragged on top of that SBorder.
* Add a WindowZoneOverride attribute to SExtensionPanel. This attribute's value controls the return value of SExtensionPanel::GetWindowZoneOverride.
* Set the WindowZoneOverride to EWindowZone::TitleBar for the SExtensionPanel in SProjectBadge. This allows the window to be dragged on the project badge.
* Stop using "ProjectBadgeBackgroundColor" from GEditorPerProjectIni because that was only used by the removed SBorder.
* Stop using "SProjectBadge.BadgeShape" from SlateEditorStyle and StarshipStyle because that was only used by the removed SBorder.

#jira UE-179910
#rb aditya.ravichandran

[CL 30055750 by sebastian arleryd in ue5-main branch]
2023-12-01 17:10:42 -05:00
alex kahn
eee2dd4151 [Backout] - CL30051221 - CIS Compile Error
[FYI] christopher.waters
Original CL Desc
-----------------------------------------------------------------
Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30054260 by alex kahn in ue5-main branch]
2023-12-01 16:35:33 -05:00
christopher waters
f665a777c7 Dependency Cleanup
- Moving IAssetCompilingManager to its own header
- Changing FAsyncCompilationNotification members to TUniquePtr<FAsyncCompilationNotification> to remove dependencies on AsyncCompilationHelpers.h
- Removing includes of AsyncCompilationHelpers.h and AssetCompilingManager.h removes 3s of compile time per file on a 3990x

#rb henrik.karlsson

[CL 30051281 by christopher waters in ue5-main branch]
2023-12-01 15:32:12 -05:00
ben zeigler
0cbbd5ac47 Clean up old blueprint compile and load code:
Remove nativization code that was deprecated in 5.0, which frees up RF_Dynamic
Remove USE_UBER_GRAPH_PERSISTENT_FRAME (the code depends on it now) and UberGraphFramePointerProperty_DEPRECATED (was never being read)
Cleaned up the other global BP defines that were close to compiling, they can now be overridden in target.cs if necessary
Delete some dead code and confusing old comments
#jira UE-186954
#rb dan.oconnor, Phillip.Kavan

[CL 30051106 by ben zeigler in ue5-main branch]
2023-12-01 15:28:48 -05:00
robert manuszewski
5acf09e035 Support for Incremental Gather Unreachable Objects
Split unreachable clusters destruction to DissolveUnreachableClusters (non-incremental as it's very fast)
Flipping MaybeUnreachable -> Unreachable flag is now a single Swap() function call (MaybeUnreachable / Unreachable flags are deprecated and replaced with interchangable Reachability flags)
GatherUnreachableObjects will now only gather unreachable objects for NotifyUnreachableObjects call and perf gains during unhashing and purging all objects.
Enable with gc.AllowIncrementalGather=1

#rb Johan.Torp, PJ.Kack

[CL 30033914 by robert manuszewski in ue5-main branch]
2023-12-01 04:39:57 -05:00
jordan hoffmann
7177021a6d [Refactor] Several changes to diff utils needed for scene-graph efforts
- Added ShouldInheritEqualFromChildren virtual method to TTreeDiffSpecification. This enables an optimization that can infer the diff result of parent nodes based on the diff result of it's children
- Changed AsyncDetailViewDiff and SDetailsSplitter code to favor usage of property handles since they handle multi-edit better and handle maps/sets better
- added transactions to SDetailsSplitter assignment button so that it can be reverted
#rb dan.oconnor

[CL 30029680 by jordan hoffmann in ue5-main branch]
2023-11-30 19:13:51 -05:00
dan oconnor
db60908f3b Make sure UWorld::WorldType is initialized correctly when reloading a loaded map, this is to ensure UEditorEngine::InitializeNewlyCreatedInactiveWorld runs at a consistent time.
#rb ben.zeigler

[CL 30024588 by dan oconnor in ue5-main branch]
2023-11-30 16:43:15 -05:00
alexis matte
12ec69a24d Fix in-between blend shape curve interpolation, there was an uninitialize parameter value when calling ResolveWeightsForBlendShape.
#jira UE-187871
#rb JeanLuc.Corenthin
#rnx

[CL 30015204 by alexis matte in ue5-main branch]
2023-11-30 10:34:01 -05:00
maxime mercier
739e218cb5 Reinstanciation fixes to have the new Overridable Serialization work correctly
PS: some new feature are only enabled on object that support overridable serialization but I wil look at eventually to merger the new code path at large.

#jira UE-188847
#rb dan.oconnor, Phillip.Kavan

[CL 30012205 by maxime mercier in ue5-main branch]
2023-11-30 06:57:00 -05:00
ben zeigler
88002a394d Remove old hack that would ensure if a raw memory address was reused when creating temporary maps in the editor
#jira UE-200371
#rb Marc.Audy, sebastian.lewicki

[CL 30002795 by ben zeigler in ue5-main branch]
2023-11-29 18:47:02 -05:00
ben zeigler
6e81a09c2a Remove broken blueprint performance tracking code now that Insights works well:
BlueprintCompileAndLoadTimerData has been wrong ever since the compilation manager was added
FScopedCompilerEvent was broken because there are two active compilation logs in many cases
Delete unused stats and replace a few with trace scopes
#rb dan.oconnor

[CL 29996340 by ben zeigler in ue5-main branch]
2023-11-29 14:53:02 -05:00
patrick enfedaque
53dff52998 Choose File To Save: Fix issue where Saving a map would save it's dirty actors even if they werent selected by the user
#rb Richard.Malo

[CL 29994442 by patrick enfedaque in ue5-main branch]
2023-11-29 13:59:26 -05:00
phillip kavan
fb6f542329 Preserve the outer package dirty state after reinstancing a Blueprint object containing one or more subobjects that are no longer load-compatible with the original's serialized data.
Example: This can occur after reparenting into a new hierarchy with matching subobjects having incompatible/downcast types. In that case, if data was previously saved using the old type, it cannot be loaded against the new type without re-saving the outermost package to update its serialized instance data.

#rb dan.oconnor

[CL 29991535 by phillip kavan in ue5-main branch]
2023-11-29 12:26:35 -05:00
yoan stamant
a204190757 [FScriptSetHelper and FScriptMapHelper iterators]
fixes for potential issues
#rb Steve.Robb

[CL 29965767 by yoan stamant in ue5-main branch]
2023-11-28 14:04:54 -05:00
yoan stamant
38e38ada97 [FScriptSetHelper and FScriptMapHelper iterators]
simple index to iterator replacements
#rb Steve.Robb

[CL 29964524 by yoan stamant in ue5-main branch]
2023-11-28 13:32:31 -05:00
marc audy
6d65417749 Add missing copyright boilerplate to shader files
Include .cc, .ush, .usf files in CheckCopyrightNotices in CIS and SubmitTool

[CL 29964273 by marc audy in ue5-main branch]
2023-11-28 13:25:05 -05:00
yoan stamant
4b1168946a [Backout] - CL29948158
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
[FScriptSetHelper and FScriptMapHelper iterators]
simple index to iterator replacements
#rb Steve.Robb

[CL 29950621 by yoan stamant in ue5-main branch]
2023-11-27 18:37:04 -05:00
yoan stamant
2c21477c39 [Backout] - CL29948080
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
[FScriptSetHelper and FScriptMapHelper iterators]
fixes for potential issues
#rb Steve.Robb

[CL 29950600 by yoan stamant in ue5-main branch]
2023-11-27 18:36:36 -05:00
yoan stamant
afa55f619d [FScriptSetHelper and FScriptMapHelper iterators]
simple index to iterator replacements
#rb Steve.Robb

[CL 29948687 by yoan stamant in ue5-main branch]
2023-11-27 17:36:50 -05:00
yoan stamant
4927cb9129 [FScriptSetHelper and FScriptMapHelper iterators]
fixes for potential issues
#rb Steve.Robb

[CL 29948175 by yoan stamant in ue5-main branch]
2023-11-27 17:27:42 -05:00
DecoyRS
873e77b496 PR #11109: Specify styles when selecting icons for SourceCodeAccess implementations
#jira UE-200714
#rb aditya.ravichandran, Devin.Doucette

[CL 29935368 by DecoyRS in ue5-main branch]
2023-11-27 11:15:19 -05:00
dan oconnor
8f24616fb5 Blueprint editor marching ants (execution path) are now displayed for function library functions
#jira UE-201140
#rb Dan.Oconnor

[CL 29913823 by dan oconnor in ue5-main branch]
2023-11-23 15:53:33 -05:00
charles bloom
7c4efc11ac TextureAssetAction new action : resize to nearest power of two
#rb fabian.giesen

[CL 29901088 by charles bloom in ue5-main branch]
2023-11-22 18:08:33 -05:00