Commit Graph

3321 Commits

Author SHA1 Message Date
Bob Tellez
5964758137 [AUTOMERGE]
#UE4 "Far" distance particles systems no longer include particles with LODs that are under the far distance threshold.

#rb Bill.Kladis

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2707959 by Bob.Tellez on 2015/09/28 13:15:53.

[CL 2707961 by Bob Tellez in Main branch]
2015-09-28 13:16:54 -04:00
Bob Tellez
39e000fd25 [AUTOMERGE]
#UE4 Particle systems that have only beam emitters no longer show up in the SingleLOD list generated by the ParticleSystemAudit commandlet.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2706555 by Bob.Tellez on 2015/09/25 14:43:37.

[CL 2707960 by Bob Tellez in Main branch]
2015-09-28 13:16:41 -04:00
Nick Darnell
95b10c90cc UE-21469 - Editor - Updating the C++ project wizard auto installion of visual studio to be setup to install VS2015 instead of 2013.
#platformnotify Josh.Adams

[CL 2707648 by Nick Darnell in Main branch]
2015-09-28 10:09:51 -04:00
Aaron McLeran
bb31416059 New feature for defining grouped max concurrency rules
Overview:
- Created a new UObject: USoundConcurrency
- Defines concurrency behaviors and allows for different USoundBase assets (e.g. SoundWave's, SoundCues) to be a part of the same concurrency group.
- This feature will allow a number of powerful techniques to limit and control the number of sound assets which can play concurrently

Details and Additional Related Features:
- USoundBase's not specifying an override or a USoundConcurrency ref will result in no concurrency limits.
- Added support to existing static gameplay functions to provide an optional argument to override the USoundConcurrency of a sound at the point of playing
- Added a few new concurrency resolution rules: Resolve based on priority and Resolve based on volume
- Volume based concurrency resolution is implemented slightly different than the others due to the fact that it's complex/expensive to compute an active sound's volume before it plays due to SoundCue graph traversal. Thus, this step is made after a sound is already made it through one update of the SoundCue graph.
- It's now possible to limit max concurrency (both in groups and per-sound-instance) to the "owner" of a sound. This way different characters/actors can use the same USoundConcurrency ref but have different max-concurrency counts. With this technique, you can, for example, limit dialogue lines per actor without needing to make a USoundConcurrency object for each actor.
- A new optional concurrency behavior was also added at a suggestion from the Epic audio team: the ability to attenuate a sound based on the instance count of a sound in its concurrency group. I.e. as more sounds play in a concurrency group, the sound instances get quieter.

Backwards Compat:
- The old way limited sounds per USoundBase instance (and not different ones). You can recover this behavior by specifying an "Override" settings structure on the USoundBase. When you do this, the feature will only limit sound concurrency per instance and not per group. All existing assets with MaxConcurrency settings will fallback to this behavior.
- The default USoundBase behavior for new USoundBase objects is the same as the old behavior - i.e. max limit of 16 and non-grouped (i.e. will be an override)

#codereview marc.audy

[CL 2706947 by Aaron McLeran in Main branch]
2015-09-25 17:58:14 -04:00
Jamie Dale
35db73fb2f Changed FEditorFileUtils::FindAllSubmittablePackageFiles to use FPackageName::TryConvertFilenameToLongPackageName to avoid a crash if it finds a bad package path
#jira UE-20758

[CL 2704958 by Jamie Dale in Main branch]
2015-09-24 15:22:17 -04:00
Jurre deBaare
34036d7772 Merging using HLOD_from_Orion
[CL 2704241 by Jurre deBaare in Main branch]
2015-09-24 09:04:18 -04:00
Jack Porter
297957a082 Add ability to choose Test or Shipping configuration for Launch On Device
[CL 2703963 by Jack Porter in Main branch]
2015-09-24 04:15:41 -04:00
Ori Cohen
2e2414a1b5 Fix reimport apex asset crash
- fix old code path for non parallel not using morptarget path

[CL 2702929 by Ori Cohen in Main branch]
2015-09-23 14:09:50 -04:00
Michael Schoell
de28759ddd Improvements to Find-in-Blueprints for variable nodes.
Properties in nodes can be marked as Blueprint searchable. Content will be gathered by FiB system for use in unloaded Blueprints on resave.

"Find References" on variables in the MyBlueprint list or on variable nodes is now more accurate.

Removed FEdGraphSchemaAction_K2AddCallOnVariable and FEdGraphSchemaAction_K2AddDocumentation, both unused in the editor and are a part of the old Blueprint menu system.

FMemberReference::SetSelfMember and FMemberReference::SetExternalMember support accepting a FGuid for the reference.

Variable nodes will assign their variable's Guid to their VariableReference
Added UK2Node::GetFindReferenceSearchString to find the search query for a node to find references to it, currently returns the node title for all nodes but variables (where it tries to do an advanced search to limit to only actual references to the same variable).

Can mark UProperties with metadata that informs the Find-in-Blueprint system to gather the property for searching. Currently FVariableReference in K2Node_Variable is the only thing gathered and only nodes are yet supported by this feature. Will expand to all objects contained within UBlueprint in the future.

When using Find-in-Blueprints, can use category names as functions to filter into child tags and values.

All Find-in-Blueprint data is now stored in an Asset Registry tag titled "FiBData" instead of "FiB", this is to support the new version feature.

#jira UE-21164 - Find-in-Blueprints needs an easier way of marking properties as searchable.

[CL 2702574 by Michael Schoell in Main branch]
2015-09-23 11:05:29 -04:00
Dmitriy Dyomin
dcb9b82875 Better detection of PIE when duplicating blueprints
#jira UE-21376
#codereview Mike.Beach

[CL 2702007 by Dmitriy Dyomin in Main branch]
2015-09-22 22:29:32 -04:00
Andrew Rodham
2e3f2f53d8 Movie Scene Rendering improvements
- All movie scene capture responsiblities are now encapsulated inside the MovieSceneCapture module. Corresponding logic has been moved out of engine classes.
 - Fixed time-step capture is fullly supported on PC and mac, real-time capture is still experimental.
 - Matinee now goes through the same MovieSceneCapture module logic as actor animations
 - AVIWriter can now be instantiated (used to be a single static w/ globals) to give greater control of capturing.
 - This mostly addresses UETOOL-446

[CL 2700384 by Andrew Rodham in Main branch]
2015-09-22 05:59:03 -04:00
Andrew Rodham
8417272e34 Fixed a crash dereferecing a null ptr
#codereview Max.Chen

[CL 2699074 by Andrew Rodham in Main branch]
2015-09-21 11:18:21 -04:00
Phillip Kavan
7877599c3a [UE-21284] Don't delete derived class CDOs on force delete of Blueprint Class assets in the content browser.
[CL 2699054 by Phillip Kavan in Main branch]
2015-09-21 11:12:45 -04:00
Lina Halper
8e7d00eed3 #Fix crash on missing adjacency index buffer data of existing LODs after reimport
Merging

//depot/UE4-Orion/Engine/Source/Editor/UnrealEd/...

to //depot/UE4-Orion/Engine/Source/Editor/UnrealEd/...

[CL 2697805 by Lina Halper in Main branch]
2015-09-18 16:41:09 -04:00
Daniel Lamb
3fcb1753fc Enabled saving stats while running cook on the fly.
[CL 2697593 by Daniel Lamb in Main branch]
2015-09-18 15:30:24 -04:00
Michael Schoell
b918bcc3f0 Fixes some dubious logic from missing parenthesis in CL# 2697190
[CL 2697390 by Michael Schoell in Main branch]
2015-09-18 14:15:04 -04:00
Michael Schoell
46d1ff41b1 Can no longer reparent level Blueprints to other level Blueprints, native classes are still an option.
#jira UE-21124 - Level Blueprint's Parent Class can be set to another Level Blueprint's generated class

[CL 2697190 by Michael Schoell in Main branch]
2015-09-18 12:26:00 -04:00
Michael Schoell
e5a77edcf6 Suspending the undo buffer during duplication of a Blueprint's CDO during reinstancing until the CDO is fully resolved.
During duplication of the CDO, the duplicated CDO's class still does not point to the CDO when it is placed in the transaction buffer. Any native sub object components that are placed in the transaction buffer are serialized incorrectly. These are fixed up during a compile which leads to a different path of serialization during undo and a mismatch buffer size. Delaying CDO placement into the undo buffer until it is finished resolves this.

#jira UE-20913 - Undo after deletion in BP editor causes crash

#codereview Maciej.Mroz, Phillip.Kavan

[CL 2697003 by Michael Schoell in Main branch]
2015-09-18 10:30:21 -04:00
Alexis Matte
140a8779b5 jira: UE-20578
#codereview matt.kuhlenschmidt
When we focus on an actor we now prevent changing the preview camera transform.

[CL 2696933 by Alexis Matte in Main branch]
2015-09-18 09:21:26 -04:00
Alexis Matte
fe815143f6 #codereview matt.kuhlenschmidt
Fix the fbx export to support correctly the hierarchy when there is parenting.
1. The order of the export was not sort correctly
2. When a parent was not exported it was crashing, now it is using the absolute transform so the child is export with the expected transform.

[CL 2696928 by Alexis Matte in Main branch]
2015-09-18 09:08:12 -04:00
Andrew Rodham
bc7208c356 Added MovieSceneActor, overhauled UActorAnimationPlayer, and fixed Actor Animation object bindings
Lots of change in here:
 - Improved UActorAnimationPlayer functionality to include looping and play speed (UI needs polish)
 - Fixed actor object bindings not working in PIE. We now only store the object GUID (and an object path for a fallback), which can then be fixed up within a given context (UWorld for now).
 - Added UActorAnimationInstance which is responsible for managing bindings on a UActorAnimation. UActorAnimation itself is now pretty much just a data asset.
 - Levels are no longer responsible for ticking actor animations, this is now handled by the client (either AMovieSceneActor, or ticked automatically if created from a blueprint node)

[CL 2696822 by Andrew Rodham in Main branch]
2015-09-18 04:56:12 -04:00
Max Preussner
8220ceecaf SessionFrontend: Using full username to identify session owners
#CodeReview: peter.sauerbrei

[CL 2696478 by Max Preussner in Main branch]
2015-09-17 21:14:52 -04:00
Bob Tellez
71248d52bd [AUTOMERGE]
#UE4 RunAsDedicated is now set a little sooner so subclasses of UGameInstance can check it correctly in Init().

#rb Daniel.Broder

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2696051 by Bob.Tellez on 2015/09/17 17:14:51.

[CL 2696052 by Bob Tellez in Main branch]
2015-09-17 17:15:08 -04:00
Jeff Farris
34453209ec Camera preview window in the level viewport now has better support for actors with multiple camera components. It will ignore components with bIsActive=false, letting the user decide which component to look through.
(merge from branch)

[CL 2695685 by Jeff Farris in Main branch]
2015-09-17 14:49:07 -04:00
Richard TalbotWatkin
84cadd4287 Comment nodes added in the Material Editor now start with focus on the editable text.
#jira UE-21087 - Material Editor: Pressing C for comment doesn't auto highlight the comment text to begin typing the comment

Added methods to create a 'user invoked' node on UEdGraph and FGraphNodeCreator, which propagates this property through the FEdGraphEditAction to the SGraphNode. This allows us to give comment nodes focus when created.

#reviewedby Dan.Oconnor

[CL 2694875 by Richard TalbotWatkin in Main branch]
2015-09-17 05:28:56 -04:00