Commit Graph

235 Commits

Author SHA1 Message Date
Ben Marsh
03bd8ee584 Move hot reload functionality onto it's own define, instead of being tied into IS_MONOLITHIC. Don't want it enabled for modular shipping games in Rocket.
#codereview Robert.Manuszewski

[CL 2293828 by Ben Marsh in Main branch]
2014-09-11 11:39:20 -04:00
Marc Audy
b6e79ff641 Prevent functions that require a World Context from being placed in a Graph that does not implement GetWorld() and report a warning for functions that already exist
A function with a World Context pin can also be flagged with new metadata CallableWithoutWorldContext which indicates it can be used in any context, even if GetWorld() is not implemented, the called function is responsible for providing a working alternative when World is null
World Centric functions can also be used in classes tagged with the ShowWorldContextPin metadata which indicates the class has a well defined method of supplying the world context that will be connected

[CL 2292921 by Marc Audy in Main branch]
2014-09-10 16:39:25 -04:00
Marc Audy
02e71ed87c Convert to using WorldContext metadata instead of DefaultToSelf/HidePin
[CL 2292897 by Marc Audy in Main branch]
2014-09-10 16:24:10 -04:00
Marc Audy
fcaf05abab Change ShowHiddenSelfPins to ShowWorldContextPin
[CL 2292818 by Marc Audy in Main branch]
2014-09-10 15:23:52 -04:00
Robert Manuszewski
615612d729 Making sure old classes are not visible in the class picker after hot-reload.
#ttp 345524: HotReload: Strange temporary class names are visible in Placement Browser's "All Classes" list after a HotReload

#change Marked old classes as transient, made sure they're not in root set
#change Made sure class picker rejects transient UClass objects

[CL 2292085 by Robert Manuszewski in Main branch]
2014-09-10 02:53:04 -04:00
John Pollard
197d2b813d Remove code that handles out of order packets since at this level, packets are never out of order
[CL 2291318 by John Pollard in Main branch]
2014-09-09 16:00:32 -04:00
Robert Manuszewski
ac182b3916 Fixing recompiling engine modules not working for non code-based game projects
#change Made sure the correct target is passed to UBT when compiling engine/editor modules for non code-based game projects
#change Refactored FLevelEditorActionCallbacks::CanShowSourceCodeActions() code to FHotReloadModule::IsAnyGameModuleLoaded

[CL 2291052 by Robert Manuszewski in Main branch]
2014-09-09 13:57:13 -04:00
Robert Manuszewski
494aae1906 Changing CheckDefaultSuobjects to not be a virtual function due to if (!this) check in CanCheckDefaultSuobjects
[CL 2290490 by Robert Manuszewski in Main branch]
2014-09-09 12:16:01 -04:00
Robert Manuszewski
2f097ce9f0 Don't check for object flags if this == NULL in CanCheckDefaultSuobjects
[CL 2289577 by Robert Manuszewski in Main branch]
2014-09-08 13:11:24 -04:00
Bob Tellez
e8ef892bcc [AUTOMERGE]
#UE4 Minor fix to error message when saving a package containing objects that reference a private object in another package.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2289543 by Bob.Tellez on 2014/09/08 13:00:18.

[CL 2289554 by Bob Tellez in Main branch]
2014-09-08 13:01:34 -04:00
Dmitry Rekman
09da8a6442 Avoiding checking this for null in UObject::IsBasedOnArchetype().
This is reported as warning by clang 3.5.0. Arguably not a compiler's call, but it's indeed better to check that condition before calling the function and not inside it.

#codereview Zak.Middleton

[CL 2288261 by Dmitry Rekman in Main branch]
2014-09-07 02:43:55 -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
Robert Manuszewski
86aa39d513 Disregard for GC fixes.
Added code to make sure the first GC index is never greater than the last non-GC index after DisregardForGC is closed.

Enabled DisregardForGC in ShooterGame so that it gets tested regularly

[CL 2286236 by Robert Manuszewski in Main branch]
2014-09-05 10:05:27 -04:00
Bob Tellez
b741fb5d04 UE4: TAssetPtr UProperties now properly report string asset references when saving packages. Also, string asset references with empty values no longer include "None" in the list of references.
#codereview Jaroslaw.Palczynski,Robert.Manuzszewski

[CL 2285622 by Bob Tellez in Main branch]
2014-09-04 23:02:53 -04:00
Max Preussner
e8fec6b059 Core: better Blueprint and serialization support for FDateTime and FTimespan
[CL 2283641 by Max Preussner in Main branch]
2014-09-03 18:45:37 -04:00
Zak Middleton
0becc6af07 #ue4 - Optimize UObject::GetArchetypeInstances() to use GetObjectsOfClass rather than FObjectIterator with repeated casts.
[CL 2283442 by Zak Middleton in Main branch]
2014-09-03 18:14:21 -04:00
Bob Tellez
3511f61578 UE4: Added support for removing dynamic mount points. Added more information to the OnContentPathMounted delegate as well.
[CL 2283325 by Bob Tellez in Main branch]
2014-09-03 15:23:12 -04:00
Max Preussner
473ca54b50 Core: temp fix for destructable mesh deserialization crash
[CL 2283304 by Max Preussner in Main branch]
2014-09-03 14:48:00 -04:00
Max Preussner
509791f48e Core: temp hack to make FTimespan BP math functions work
#CodeReview: nick.whiting

[CL 2283276 by Max Preussner in Main branch]
2014-09-03 14:22:52 -04:00
Max Preussner
8717dd9637 Editor: Added details view customization for FDateTime and FTimespan; also some code cleanup
#CodeReview: david.nikdel

[CL 2282244 by Max Preussner in Main branch]
2014-09-02 19:28:15 -04:00
Maciej Mroz
ea341555aa Better support for Instanced tag. Objects can be defined in CDO. Subobjects are not removed when owner bp is recompiled, etc.. ttp#333611
#codereview Robert.Manuszewski, James.Golding

[CL 2280605 by Maciej Mroz in Main branch]
2014-09-01 14:20:28 -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
Steve Robb
b6b547740c Misc refactoring.
#codereview robert.manuszewski

[CL 2280370 by Steve Robb in Main branch]
2014-09-01 07:18:29 -04:00
Eric Newman
4177fb347e Weekly merge of UE4-Fortnite-To-UE4 using CL# 2271452
[CL 2276663 by Eric Newman in Main branch]
2014-08-28 16:05:15 -04:00
Saul Abreu
833791a48b Fixed case insensitive source string comparison when checking if multuiple UTextProperty are identical.
[CL 2276655 by Saul Abreu in Main branch]
2014-08-28 16:00:08 -04:00