Commit Graph

8033 Commits

Author SHA1 Message Date
Marc Audy
d25958e352 Use SizeSquared comparisons instead of Size where trivially replaceable
[CL 2681970 by Marc Audy in Main branch]
2015-09-06 12:42:18 -04:00
Michael Schoell
c9f23a404e Fixed bug with Find-in-Blueprint where double clicking on an item would not go to the item when searching locally.
[CL 2680929 by Michael Schoell in Main branch]
2015-09-04 15:59:34 -04:00
Adric Worley
6e3fd465a8 Move Blueprint promotion tests into the Kismet module.
[CL 2680876 by Adric Worley in Main branch]
2015-09-04 15:29:43 -04:00
Michael Schoell
cd7367dd6b Fixed crash from invalid macros after deleting source graph in MacroLibrary.
Added null check for Macro metadata return to stop attempts to access null pointer when retrieving the macro's title.

#jira UE-20717 - Compiling a Blueprint that references a deleted Macro from a Custom Macro Library will crash the editor

[CL 2680816 by Michael Schoell in Main branch]
2015-09-04 15:07:42 -04:00
Ori Cohen
937ae88fb8 Big refactor of cloth to allow for running cloth in parallel and off game thread. Submitting with parallel cloth turned off to shake out any bugs from refactor, but parallel can be turned on via p.ParallelCloth 1
[CL 2680648 by Ori Cohen in Main branch]
2015-09-04 13:37:41 -04:00
Mike Beach
76209a73f0 (WIP) Blueprint code conversion commandlet - now actually converting assets, recording a manifest that reflects the results.
[CL 2680641 by Mike Beach in Main branch]
2015-09-04 13:35:03 -04:00
Michael Schoell
616d30afaa Improved logging of crash to gather information as to what might be the cause.
#jira UE-19729 - [CrashReport] UE4Editor_BlueprintGraph!UK2Node_VariableGet::GetNodeTitle() [k2node_variableget.cpp:267]

[CL 2680613 by Michael Schoell in Main branch]
2015-09-04 13:14:51 -04:00
Michael Schoell
98ba1c3171 PinTypeSelector has improved usability with the sub-menu for object types.
SListViewSelectorDropdownMenu no longer requires any SSearchBox be supplied as a DefaultFocusWidget, it will safely ignore the concept.

PinTypeSelector now uses a ListView for the sub-menu when picking "Reference", "Class", "Asset ID", or "Class Asset ID".

Issues with being able to hit enter twice to select "Reference" have been resolved.

Various usability improvements with the sub-menu.

SSubMenuHandler::RequestSubMenuToggle now supports for immediate reaction.

Added SSubMenuHandler::IsSubMenuOpen

#jira UE-19936 - blueprint class search defaults to reference

[CL 2680504 by Michael Schoell in Main branch]
2015-09-04 11:56:28 -04:00
Lina Halper
bbe0c345dd #ANIM : Fix additive base pose display
Merging

//depot/UE4-Orion/Engine/Source/Editor/UnrealEd/Private/Animation/DebugSkelMeshComponent.cpp

to //depot/UE4-Orion/Engine/Source/Editor/UnrealEd/Private/Animation/DebugSkelMeshComponent.cpp

[CL 2680323 by Lina Halper in Main branch]
2015-09-04 10:28:26 -04:00
Marc Audy
cfa7647cbd Make Mobile HDR log use Display instead of Warning
#codereview Daniel.Lamb

[CL 2680283 by Marc Audy in Main branch]
2015-09-04 10:05:16 -04:00
Graeme Thornton
e41c65091a Integrate CL 2676785 to main
Fixes/improvements for dependency preloading
 - Move dependency lookups earlier in synchronous package load so that they happen BEFORE the source package has its linker created
 - Put loose (non-map based) packages FIRST in the PAK file. Matches general access patterns better and gets higher pak seek contiguity.

[CL 2680002 by Graeme Thornton in Main branch]
2015-09-04 02:50:51 -04:00
Bob Tellez
4a265f8edc [AUTOMERGE]
#UE4 More correctly setting ForceNoResetLoaders when renaming away old graphs. Technically we only need to avoid resetting loadings when regenerating on load so that is what we are doing now.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2679917 by Bob.Tellez on 2015/09/03 22:45:05.

[CL 2679918 by Bob Tellez in Main branch]
2015-09-03 22:45:20 -04:00
Bob Tellez
79af138f14 [AUTOMERGE]
#UE4 Fixed a bug where a blueprint compiling on load would have its loader reset, which would cause a pointer to it on the stack (in FKismetCompilerContext::Compile)  to not have a valid export map to patch up later. While technically it shouldnt have to patch up a linker that was reset, there is not a good way to test if a linker has been detached and there does not seem to be a good reason to reset loaders here intentionally. This was causing a crash in PatchNewCDOIntoLinker.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2679906 by Bob.Tellez on 2015/09/03 22:27:56.

[CL 2679907 by Bob Tellez in Main branch]
2015-09-03 22:28:16 -04:00
Marc Audy
383fabfa85 Fix crash from calling FindFunctionByName on null SkeletonGeneratedClass
#codereview Dan.Oconnor
#jira UE-20741

[CL 2679124 by Marc Audy in Main branch]
2015-09-03 14:48:51 -04:00
Max Preussner
e86adec119 MovieSceneTools: Started to implement event track editor
[CL 2678966 by Max Preussner in Main branch]
2015-09-03 13:26:05 -04:00
Michael Schoell
be26ed931c Can no longer add reroute nodes to read only graphs such as math expression graphs.
Moved logic for deciding a read only graph from BlueprintEditor to BlueprintEditorUtils for more global access to the logic.

#jira UE-20536 - MathExpressionNode: Able to add reroute points inside subgraph

[CL 2678959 by Michael Schoell in Main branch]
2015-09-03 13:25:12 -04:00
Jurre deBaare
cb98512916 Changed behaviour of forced HLOD level slider (more use-friendly now)
Added console command for enabling/disabling the HLOD system
Changed/removed HLOD behaviour from build menu
Removed context menu from HLOD level treeview item
Double clicking a (build) LODActor or StaticMeshActor item in the HLOD outliner will now move the editor camera to the actor (just like the scene outliner)

[CL 2678787 by Jurre deBaare in Main branch]
2015-09-03 12:05:29 -04:00
Max Preussner
1cf5e448dd MovieSceneTools: Better names for track editor delegate handles
[CL 2678677 by Max Preussner in Main branch]
2015-09-03 11:12:38 -04:00
Max Preussner
97b6a724e9 MovieSceneTools: Cosmetic changes
[CL 2678631 by Max Preussner in Main branch]
2015-09-03 10:53:45 -04:00
Michael Schoell
e954e01df9 UserDefinedStructs and Local Variables can have non-basic type arrays of size 1 without resetting to being size 0.
ArrayProperty will no longer assume "()" is an empty array. This was a bug.

GameplayTag pins will no longer store "()" for empty sized arrays.

UserDefinedStructureEditor now uses a normal DetailsView instead of a StructureDetails view, leveraging the same code that supports local variables in Blueprints.

#jira UE-20381 - Adding Elements to multiple Struct Arrays of a specific variable type is unreliable

[CL 2678541 by Michael Schoell in Main branch]
2015-09-03 10:18:46 -04:00
Thomas Sarkanen
2878a344ae Anim Blueprint compiler can now access member variables directly instead of thunking to the VM
Optimization is enabled by default but is an engine setting in case it needs to be disabled (bOptimizeAnimBlueprintMemberVariableAccess).
Expanded FExposedValueHandler to also contain an array of source & dest properties (copy records) to copy between. These are resolved to read/write addresses on init & a simple memcpy at runtime instead of calling the usual generated custom event.
Custom events are not added at all if all properties use copy records. The event may still be added & called however as mixed-mode access is still supported (i.e. a thunk and a memcpy to different pin properties).
Unfortunately this required initialization of all ExposedValueHandlers (as I didnt want to add the branch overhead of lazy init) so all the anim nodes have needed a small change to call their base class Initialize().

[CL 2678504 by Thomas Sarkanen in Main branch]
2015-09-03 09:55:41 -04:00
Gareth Martin
8df49c9670 Added landscape mirroring tool
[CL 2678350 by Gareth Martin in Main branch]
2015-09-03 05:28:49 -04:00
David Ratti
39c6c6b80f [AUTOMERGE]
Remove SScalebox since it causes scaling issues with large amounts of gameplay tags

--------
Integrated using branch UE4-To-UE4-Orion (reversed) of change#2677822 by David.Ratti on 2015/09/02 18:29:09.

[CL 2677823 by David Ratti in Main branch]
2015-09-02 18:29:28 -04:00
slonopotamus
5b60b8d7d2 PR #1516: Speedup asset discovery by avoiding redundant data copying (Contributed by slonopotamus)
#jira UE-20649

[CL 2677708 by Dan Oconnor in Main branch]
2015-09-02 17:18:56 -04:00
Benn Gallagher
3186d9a327 Shadow warning fix for blend profile widget
[CL 2677540 by Benn Gallagher in Main branch]
2015-09-02 16:01:47 -04:00