Commit Graph

212 Commits

Author SHA1 Message Date
Fred Kimberley
216fa503f2 Integrating a fix so we'll mark packages as dirty if we haven't saved the transaction buffer when the always mark dirty flag is not set
Merging using UE4-Fortnite-To-UE4

[CL 2353678 by Fred Kimberley in Main branch]
2014-11-07 17:21:09 -05:00
Mike Beach
5bc8118b5e [FORT-1522] Marking an achetype/CDO transactional, before PreEditChange() tries to save it into the transaction buffer for the first time.
[CL 2353586 by Mike Beach in Main branch]
2014-11-07 16:31:06 -05:00
Richard TalbotWatkin
2830792bc7 Prevent UObject::Modify() from doing anything during GC. Fixes error message when loading a map which breaks automation testing.
#jira UE-4934 - Error message occurs when loading any map. ('None' is not a standard unreal filename or a long path name.)

[CL 2350216 by Richard TalbotWatkin in Main branch]
2014-11-05 13:11:31 -05:00
Robert Manuszewski
682011a227 Making some of the most frequently constructed FNames static.
#codereview Ben.Cosh, Jaroslaw.Palczynski, Josh.Markiewicz

[CL 2348300 by Robert Manuszewski in Main branch]
2014-11-04 08:56:31 -05:00
Jack Porter
667b8193a0 Changed FCoreUObjectDelegates::OnObjectModified to be called only once per frame for each unique object that has Modify() called on it
#code_review: matt.kuhlenschmidt

[CL 2346803 by Jack Porter in Main branch]
2014-11-03 07:34:42 -05:00
Robert Manuszewski
9aa1bf1776 Fix for a crash when performing hot-reload in a project that has deprecated classes.
UE-4701

#lockdown James.Dickinson

[CL 2346129 by Robert Manuszewski in Main branch]
2014-10-31 10:57:51 -04:00
Robert Manuszewski
99fe836a5a GC will no longer flush streaming and can be run while async loading. Removed GSerializedProperty.
[CL 2344848 by Robert Manuszewski in Main branch]
2014-10-30 09:52:57 -04:00
Nick Whiting
40faca7c1a #ue4 Gating a warning about missing Super / Parent for functions when they're being regenerated. Prevents false warnings from being emitted while in blueprint regeneration
[CL 2343028 by Nick Whiting in Main branch]
2014-10-28 19:39:16 -04:00
Maciej Mroz
5b9485e82c Problem:
There is a crash when duplicating BP based on object, with single member variable of struct type. (or UE-4494)

Fix:
Don't call Link() on struct in Serialize() while duplication. Link() will be called later anyway (when all subobjects are serialized).

#codereview Nick.Whiting, Robert.Manuszewski

[CL 2339668 by Maciej Mroz in Main branch]
2014-10-24 08:09:21 -04:00
Mikolaj Sieluzycki
4f4f4b08ba Remove headers from CoreUObjectPrivate.h that are included 0 or 1 time in CoreUObject module.
#codereview Robert.Manuszewski

[CL 2339651 by Mikolaj Sieluzycki in Main branch]
2014-10-24 08:08:58 -04:00
Daniel Wright
845b9cb571 Material parameters are now allowed in functions
Scalar and Vector Parameter default value changes are applied to materials in the scene in realtime
Code view tab no longer updates or compiles shaders on each edit while closed
Right click menu options to convert between float parameter and constant types

[CL 2339422 by Daniel Wright in Main branch]
2014-10-23 21:38:06 -04:00
Daniel Lamb
8602e2b210 Stopped slow process requests from poping up during cook in editor.
[CL 2338941 by Daniel Lamb in Main branch]
2014-10-23 15:26:32 -04:00
Mike Beach
311cb3d2e8 [UE-1987] Now allowing for users to cast from interfaces to raw objects.
[CL 2338669 by Mike Beach in Main branch]
2014-10-23 12:15:59 -04:00
Lee Clark
4b10755981 Fix for static initialization order of debug visualizer delegates
[CL 2337114 by Lee Clark in Main branch]
2014-10-22 13:35:17 -04:00
Maciej Mroz
18093bd78c UberGraphPersistentFrame code can be disabled by setting USE_UBER_GRAPH_PERSISTENT_FRAME define false.
#codereview Robert.Manuszewski

[CL 2337098 by Maciej Mroz in Main branch]
2014-10-22 13:34:29 -04:00
Justin Sargent
ae3e08710c I18N/L10N: Removed the CoreDelegates::OnCultureChanged and replaced it with event FInternationalization::Get().OnCultureChanged() and added FTextLocalizationManager::Get().OnTranslationsChanged().
[CL 2332239 by Justin Sargent in Main branch]
2014-10-16 18:29:50 -04:00
Andrew Rodham
4868367e75 Async linker loads no longer create slow tasks
Also compiled out the slow tasks for non-editor builds, and fixed disabled slow tasks causing a UI update
This is a fix for TTP#349473 - CRASH: MAIN: EDITOR: Editor crashes when attempting to PIE in viewport.

[CL 2331389 by Andrew Rodham in Main branch]
2014-10-16 06:06:51 -04:00
Stephan Delmer
68e060b016 Merging Dev -> Main using UE4-Fortnite-To-UE4 from CL 2322144
[CL 2330289 by Stephan Delmer in Main branch]
2014-10-15 11:52:42 -04:00
Maciej Mroz
86b4638862 Uber Graph Persistent Frame - All local variables, used by event graphs (see FKismetFunctionContext::EventGraphLocals), are no longer stored in class scope. They are stored on a frame (as local variables in regular functions). For the ExecuteUbergraph_*() functions the FFrameÆs allocation is kept for the life of the object.
#codereview Nick.Whiting

[CL 2329973 by Maciej Mroz in Main branch]
2014-10-15 06:31:31 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Marc Audy
36fd352f49 Allow dynamically adding game name redirects at runtime
[CL 2327200 by Marc Audy in Main branch]
2014-10-13 10:41:51 -04:00
Nick Darnell
c6b353032e TTP 349085 Arrays don't migrate their values property between UMG previews and templates when migrating an empty array. Turned out to be a bug in our text importer for array properties, we exported empty string for an empty array, but didn't accept empty strings as valid importing text.
[CL 2323193 by Nick Darnell in Main branch]
2014-10-08 16:37:33 -04:00
Andrew Rodham
4ad1b987fc Improved progress reporting in the editor
FScopedSlowTask has been refactored to better allow for nesting of slow operations. This allows us to cascade nested scopes and provide accurate feedback on slow tasks. FScopedSlowTasks now work together when nested inside sub functions. Break up long functions that contain calls to multiple nested FScopedSlowTasks with FScopedSlowTask::EnterProgressFrame().

Example Usage:
void DoSlowWork()
{
    FScopedSlowTask Progress(2.f, LOCTEXT("DoingSlowWork", "Doing Slow Work..."));
    // Optionally make this show a dialog if not already shown
    Progress.MakeDialog();

    // Indicate that we are entering a frame representing 1 unit of work
    Progress.EnterProgressFrame(1.f);

    // DoFirstThing() can follow a similar pattern of creating a scope divided into frames. These contribute to their parent's progress frame proportionately.
    DoFirstThing();

    Progress.EnterProgressFrame(1.f);
    DoSecondThing();
}

This addresses TTP#338602 - NEEDS REVIEW: Editor progress bars nearly always just show 100%, don't offer useful indication of progress

[CL 2322391 by Andrew Rodham in Main branch]
2014-10-08 04:42:34 -04:00
Jaroslaw Palczynski
37f19fe3fa Server functions passed by non-const reference result in bad code generation.
Fixed.

#ttp 338601

[CL 2321310 by Jaroslaw Palczynski in Main branch]
2014-10-07 11:04:06 -04:00
John Pollard
aafe346f1e Add hooks so game code can detect when demos start playing
[CL 2320365 by John Pollard in Main branch]
2014-10-06 15:58:05 -04:00