Commit Graph

98 Commits

Author SHA1 Message Date
Maciej Mroz
f55429024e CPF_EditInline flag removed (replaced by metadata).
CPF_PersistentInstance  flag added.

#codereview Robert.Manuszewski, Nick.Whiting, James.Golding

[CL 2308211 by Maciej Mroz in Main branch]
2014-09-24 09:09:32 -04:00
Maciej Mroz
7e1c4c25ca 347339 BLOCKER: CRASH: EDITOR: ORION: Occurs when adding a skylight to a scene.
347343 BLOCKER: EDITOR: ORION: Unable to edit or view the light details properties.

[CL 2306682 by Maciej Mroz in Main branch]
2014-09-23 05:53:00 -04:00
Robert Manuszewski
343352654a UObjects: no longer require dummy UClasses in UStruct-only modules.
#change Added code to make sure the script package is created before UEnums and UStructs get registered

[CL 2306655 by Robert Manuszewski in Main branch]
2014-09-23 05:12:53 -04:00
Josh Adams
4cec25879d - No longer compile Engine.generated.1.cpp and .2.cpp together, as the large resulting code is crashing x86 android compiler.
- Fixed a couple issues with Android fat binaries (cleaning and obb being archived multiple times)
- Touched Engine.h to force a UHT refresh
#codereview Robert.Manuszewski

[CL 2305487 by Josh Adams in Main branch]
2014-09-22 09:46:58 -04:00
Maciej Mroz
8523cb31f0 The CPF_EditInline flag, will force the subobject instance to be persistent, but CLASS_DefaultToInstanced wonÆt imply CPF_EditInline anymore.
#codereview Ben.Zeigler, Robert.Manuszewski

[CL 2305323 by Maciej Mroz in Main branch]
2014-09-22 09:42:15 -04:00
Robert Manuszewski
3144ce46a8 Removing references to MakeCommandlet from code
[CL 2302207 by Robert Manuszewski in Main branch]
2014-09-18 04:05:01 -04:00
Michael Noland
3fbebf9cf5 UnrealHeaderTool: Clarified a couple of error messages that sounded like keywords were limited to only multicast delegate properties (when they are also applicable to functions)
[CL 2286811 by Michael Noland in Main branch]
2014-09-05 17:50:18 -04:00
Ben Marsh
d591804587 Move hot reload functionality from Core into the HotReload module. Precursor to removing assumptions about IS_MONOLITHIC and supporting hybrid monolithic configurations.
[CL 2286426 by Ben Marsh in Main branch]
2014-09-05 12:46:22 -04:00
Michael Schoell
358bea4d7b Resolved issues causing an ensure to fire when compiling a Blueprint with an overide function.
Having a private function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a sealed function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a 'final' function with BlueprintImplementableEvent will now report as an error by the UHT.

#ttp 343140 - BP:  LIVE CRASH:  ensure((Function->FunctionFlags & FUNC_FuncOverrideMatch) == (OverridenFunction->FunctionFlags & FUNC_FuncOverrideMatch))

[CL 2283008 by Michael Schoell in Main branch]
2014-09-03 10:46:58 -04:00
Dan Oconnor
c7f6d3b0bd Removed the error we raised when a const function was exposed as BlueprintPure, tested by marking QAPawn::GetWeapon() BlueprintPure, also ran BlueprintInfoDump commandlet, and no changes were observed in blueprint data
[CL 2281921 by Dan Oconnor in Main branch]
2014-09-02 16:02:17 -04:00
Maciej Mroz
d585b1b677 EditInline tag is removed. It is replaced with Instanced.
[CL 2280604 by Maciej Mroz in Main branch]
2014-09-01 14:15:28 -04:00
Maciej Mroz
8487c15178 Better support for "EditInline"/"EditinlineNew" feature in UEngine::CopyPropertiesForUnrelatedObjects.
Invalid/useless "EditInline" tags removed. UHT generates error when "EditInline" is used for property other than Object reference (or an array).

#codereview Nick.Whiting

[CL 2274828 by Maciej Mroz in Main branch]
2014-08-27 14:39:09 -04:00
Billy Bramer
087e56e66a Merging using UE4-Fortnite-To-UE4 from CL 2261973
Includes the following engine-level changes (among others; biggest change is enabling world assets by default):

CL 2252857
added dynamic allocations for path finding, removed hardcoded limit of 128 polys in path corridor

CL 2256142
Added support for native arrays in JSON object converter.

- Permissive in treating arrays of size 1 and scalars as equivalent
- Excess elements in JSON are ignored. Serialization succeeds but a warning is logged

CL 2256073
Fixed a bug in ARecastNavMesh::BatchRaycast resulting in NaN hit locations

CL 2253797
#UE4 More aggressively setting RF_Public and RF_Standalone flags on maps and ensuring world names match package names. This is necessary because umaps are currently being managed outside of the content browser and it is causing a few issues. Also, packages containing maps now synthesize asset data when the package contains absolutely no asset data (probably because the UWorld in it was not RF_Public at the time it was saved due to a previous bug).

CL 2258142
#UE4 Added a GC during map load that reclaims memory allocated during load/init. This is needed to finish the load on low-memory devices in games that allocate more memory after load.

CL 2247003
Added homing to ProjectileMovementComponent

- Homing requires both a bool and a target component to be set, the strength is determined by a customizable variable
- Both homing and gravity are now applied in the new virtual function "CalculateAcceleration"

CL 2247249
Moved the homing modification to acceleration occur in a separate function specifically for homing

CL 2257043
- Guard net dormancy calls against executing on clients, based on thread with DaveR and JohnP; This particular case was the result of an intentionally client-authoritative actor calling the dormancy functions via inheritance

CL 2245629
#UE4 - fixed json TryGetNumber to round negatives appropriately

CL 2255312
#UE4 Enabling World Assets by default.

CL 2260956
Analytics ET now loads HTTP at StartupModule so the module will be available during ShutdownModule to flush events

CL 2245571
GenericTeamAgentInterface can now retrieve attitude of an agent towards a given actor #UE4

- Made PerceptionSystem's sight sense take advantage of that

CL 2246897
Fixed perception listeners not being removed from the PerceptionSystem on Owner's end play #UE4

- addresses TTP#343392

CL 2260634
added more debug data for NaN in crowd simulation

CL 2248387
Added possibility to debug multiple EQS queries with GameplayDebugger. #ue4
Fixed network replication from bandwidth point of view for data in GameplayDebugger. #ue4

CL 2253281
Added additional information to the visual logger for UBTCompositeNode::DoDecoratorsAllowExecution
- We now keep track of whether a decorator allows execution, in addition to the existing log for not allowing execution

CL 2255310
#UE4 The world browser module now listens to WorldAdded/WorldDestroyed events instead of WorldInit/WorldCleanup events. Worlds can be initialized without being the editor world and this handles that case.

CL 2258256
#UE4 Replacing the SOpenLevelDialog with a new generic SAssetDialog. This dialog will be used as a generic Open or Save As dialog for assets.

[CL 2266822 by Billy Bramer in Main branch]
2014-08-21 20:30:51 -04:00
Ben Marsh
720e032b83 Prevent declaring structures in the UCLASS macro when building documentation. Prevents Doxygen from being able to associate the class comment with the class definition.
[CL 2265902 by Ben Marsh in Main branch]
2014-08-21 09:48:57 -04:00
Steve Robb
64f7f5fca8 NonPIETransient renamed to NonPIEDuplicateTransient to better reflect that it's a variant of DuplicateTransient, not a variant of Transient.
Bug fix where serialization was not occurring on properties marked as NonPIETransient.

#codereview robert.manuszewski

[CL 2262932 by Steve Robb in Main branch]
2014-08-19 15:07:24 -04:00
Josh Markiewicz
23a565806e [AUTOMERGE]
#UE4 - changes to _Validate code generation to make it virtual

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2262447 by Josh.Markiewicz on 2014/08/19 09:36:53.

[CL 2262454 by Josh Markiewicz in Main branch]
2014-08-19 09:44:20 -04:00
Mike Fricker
08f9474eb0 Fixed exception-related compile errors with Clang on Windows
- Exceptions are not yet supported in Clang on Windows platform

[CL 2260725 by Mike Fricker in Main branch]
2014-08-18 08:53:57 -04:00
Mikolaj Sieluzycki
3558b6168f Add error message when UHT fails to create generated.h.
TTP #339649 UHT fails to create generated.h with no error message.
#codereview Steve.Robb

[CL 2260578 by Mikolaj Sieluzycki in Main branch]
2014-08-18 04:57:34 -04:00
Mike Fricker
52ff9982be Fixed UHT failing to compile on Windows when PCHs are disabled
- This was caused because of how MSVC resolves include paths (Class.h was ambiguous)

[CL 2258158 by Mike Fricker in Main branch]
2014-08-15 16:12:22 -04:00
Steve Robb
82fcd06c42 enum class support for UENUMs. Currently only supports enum classes of underlying type uint8, because the property system needs to be updated to handle more than that.
EPropertyReferenceFlags removed too, because it is unused.

#ttp 329394: UHT: Support the C++ "enum class" syntax for UENUMs

#codereview robert.manuszewski

[CL 2252907 by Steve Robb in Main branch]
2014-08-12 08:51:25 -04:00
Steve Robb
3757db36a5 [GitHub] 341 : Enabled class member initializer-awareness to UnrealHeaderTool
Integrated changes, added a test.

#codereview robert.manuszewski

[CL 2248431 by Steve Robb in Main branch]
2014-08-08 09:42:56 -04:00
Maciej Mroz
0781f10f49 Back out revision 297 from //depot/UE4/Engine/Source/Programs/UnrealHeaderTool/Private/HeaderParser.cpp
The fortnite was updated, so the warning is restored.

#codereview Ben.Zeigler

[CL 2247047 by Maciej Mroz in Main branch]
2014-08-07 12:57:45 -04:00
Ben Zeigler
5987522fc2 #UE4 Change blueprint access to static array compile error to be a compile display text. Warnings get converted to errors so we can't use warnings.
[CL 2244727 by Ben Zeigler in Main branch]
2014-08-05 17:01:47 -04:00
Maciej Mroz
e39b3831f1 Warnings and erros about using static arrays with blueprints.
Warnings about using properties without BlueprintReatWrite or BlueprintReadOnly tags.

ttp343139 BP:  PUBLIC CRASH:  ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr
ttp343016 ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr

#codereview Nick.Whiting, Michael.Noland, Robert.Manuszewski

[CL 2244501 by Maciej Mroz in Main branch]
2014-08-05 14:16:02 -04:00
Dmitry Rekman
8a5a04c342 Linux: do not compile UHT monolithically anymore.
- Fixes it after being broken by a recent change, which requires all plugins to be loaded before proceeding.

[CL 2238707 by Dmitry Rekman in Main branch]
2014-07-31 15:44:39 -04:00