Files
UnrealEngineUWP/Engine/Source/Editor/WorldBrowser/Private/LevelCollectionModel.cpp

1994 lines
54 KiB
C++
Raw Normal View History

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "LevelCollectionModel.h"
#include "Misc/PackageName.h"
#include "AssetData.h"
#include "Misc/MessageDialog.h"
#include "Misc/ConfigCacheIni.h"
#include "Misc/FeedbackContext.h"
#include "Modules/ModuleManager.h"
#include "Framework/MultiBox/MultiBoxBuilder.h"
#include "ISourceControlOperation.h"
#include "SourceControlOperations.h"
#include "ISourceControlModule.h"
#include "Settings/EditorLoadingSavingSettings.h"
#include "Engine/Selection.h"
#include "EditorModeManager.h"
#include "EditorModes.h"
#include "FileHelpers.h"
#include "EditorModeInterpolation.h"
#include "ScopedTransaction.h"
#include "EditorLevelUtils.h"
#include "LevelCollectionCommands.h"
#include "SourceControlWindows.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "IAssetTools.h"
#include "IAssetTypeActions.h"
#include "AssetToolsModule.h"
#include "EditorSupportDelegates.h"
#include "Matinee/MatineeActor.h"
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3292174 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Linux toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292193 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - ThirdParty libs compiled with new toolchain with wasm support #jira UEPLAT-1437 Switch [to] web assembly Change 3292215 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and wbegl2 support - emscripten toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292222 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm support - ENGINE changes (c# & cpp files) #jira UEPLAT-1437 Switch [to] web assembly Change 3292223 on 2017/02/08 by Nick.Shin HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile Change 3292228 on 2017/02/08 by Nick.Shin HTML5 emscripten: webgl support - webgl patches - and a lot of UE4 patches to package HTML5 on LINUX - mostly from mozilla's jukka -- thx jukka! #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3292285 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Windows toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3293994 on 2017/02/09 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - OSX toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3294391 on 2017/02/09 by Nick.Shin HTML5 "black box issues" revisited - jukka rewrote the window resize handler -- much cleaner and more straightforward #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3296421 on 2017/02/10 by Jack.Porter Fix landscape spline segment splitting placing when using streaming levels Change 3296587 on 2017/02/10 by Jack.Porter Additional fix for landscape spline segment splitting when using streaming levels Change 3301241 on 2017/02/14 by Mi.Wang Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter Change 3301387 on 2017/02/14 by Nick.Shin HTML5 emscripten: webgl support - webgl patches from mozilla's jukka + hardware instancing + glBlitFramebuffer + GL AlaphaBlendOperation #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3301405 on 2017/02/14 by Nick.Shin HTML5 plugin fix when blueprint projects are promoted to code projects automatically. #jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc Change 3302278 on 2017/02/14 by Omar.Rodriguez UE-36651: Mac Vulkan Android Projects crash on launch. * Glslang library has been built for Mac but flag was not updated * Set GlslangAvailable to true for Mac when building an Android project with vulkan #jira UE-36651 Change 3302773 on 2017/02/14 by Chris.Babcock Add a dropdown with some common console commands on Android (contributed by rafortis) #jira UE-40834 #PR #3143 #ue4 #android Change 3305604 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader- turn on: instance static mesh vertex factory #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3308154 on 2017/02/16 by Nick.Shin HTML5 GitHub PR #jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5 Change 3308510 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3308971 on 2017/02/17 by Jack.Porter Fix for landscape painting when height<0 in the Ortho viewports Change 3309075 on 2017/02/17 by Allan.Bentham Include static subject meshes when masking out modulated shadow casters. #jira UE-41581 Change 3309531 on 2017/02/17 by Chris.Babcock Handle large OBB files in APK #jira UE-41443 #ue4 #android Change 3311320 on 2017/02/19 by Dmitriy.Dyomin Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU) #jira UE-41970 Change 3311347 on 2017/02/20 by Dmitriy.Dyomin Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil) #jira UE-41976 Change 3311398 on 2017/02/20 by Dmitriy.Dyomin Fixed: Landscapes do not render on PowerVR device #jira UE-35530 Change 3311428 on 2017/02/20 by Dmitriy.Dyomin Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes #jira UE-42036 Change 3311448 on 2017/02/20 by Dmitriy.Dyomin Fixed: Packaged game Crashes on android after entering "Help" command twice #jira UE-41956 Change 3311587 on 2017/02/20 by Allan.Bentham ES2 GLSL - Silently swap all uint to ints #jira UE-41548 Change 3313930 on 2017/02/21 by Allan.Bentham Print literal uints as ints when generating ES2 code. #jira UE-41548 Change 3317924 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317929 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317951 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318004 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318669 on 2017/02/23 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318672 on 2017/02/23 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318819 on 2017/02/23 by Dmitriy.Dyomin Fixed: Rendering artifacts with bloom on iPhone7 Metal #jira UE-40978 Change 3319702 on 2017/02/23 by Chris.Babcock Disable eglSwapInterval since it can cause issues with some drivers #ue4 #android Change 3320880 on 2017/02/24 by Dmitriy.Dyomin Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default) #jira UEMOB-195 Change 3321042 on 2017/02/24 by Jack.Porter Fixed incorrect sizeof in Vulkan pipleine cache pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/ #code_review: rolando.caloca Change 3322383 on 2017/02/24 by Chris.Babcock Fix issue with ad banner on Android 7.0 devices #jira UE-42390 #ue4 #android Change 3322479 on 2017/02/24 by Omar.Rodriguez UEMOB-199 - WEX: Improved virtual keyboard for Android * Calculating the area covered by the virtual keyboard * Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events * Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event #jira UEMOB-199 Change 3323353 on 2017/02/27 by Allan.Bentham Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis #jira UE-42191 Change 3323431 on 2017/02/27 by Allan.Bentham CIS fix Change 3323687 on 2017/02/27 by Allan.Bentham Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices. #jira UE-42131 Change 3324652 on 2017/02/28 by Dmitriy.Dyomin Fixed: Canvas elements appear darker on iOS Metal Change 3324885 on 2017/02/28 by Jack.Porter Fixed "Minimum iOS Version" setting display name #jira UE-42270 Change 3324899 on 2017/02/28 by Jack.Porter GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini #jira UE-40018 #3063 Change 3324932 on 2017/02/28 by Jack.Porter GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows #jira UE-41984 #3257 #codereview: Peter.Sauerbrei Change 3324956 on 2017/02/28 by Jack.Porter FOpenGLFrontend::GetMaxSamplers incorrect for IOS #jira UE-42038 #3264 Change 3325478 on 2017/02/28 by Allan.Bentham PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna) #jira UE-41442 Change 3327300 on 2017/03/01 by Allan.Bentham PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen) #jira UE-41257 Change 3328917 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini #jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac #jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings Change 3329169 on 2017/03/02 by Allan.Bentham increase render thread timeout to 1 minute for suntemple / android. Prevents low end devices timing out during load. #jira UE-40696 Change 3330849 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3331078 on 2017/03/03 by Dmitriy.Dyomin Fixed: Device output log partial lines integrated from WEX (3250488) Change 3331112 on 2017/03/03 by Dmitriy.Dyomin Reduced state setup for slate draw calls (saves about 4ms RT time on mobile) integrated from WEX (3256584) Change 3331117 on 2017/03/03 by Dmitriy.Dyomin Fixed redundant blend state changes in opengl integrated from WEX (3256586) Change 3331173 on 2017/03/03 by Dmitriy.Dyomin Slate pixel shaders will use half precision where possible on mobile integrated from WEX (3256656) Change 3332865 on 2017/03/06 by Dmitriy.Dyomin Better MobileContentScaleFactor defaults for iOS devices #jira UEMOB-330 Change 3333129 on 2017/03/06 by Peter.Sauerbrei move to Library/Caches instead of documents for saved files re-enable iterative deploy on TVOS #jira UEMOB-284 Change 3334692 on 2017/03/06 by Jack.Porter Allow r.MobileContentScaleFactor to be changed at runtime on Android #jira UEMOB-173 Change 3336255 on 2017/03/07 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3337094 on 2017/03/08 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3338800 on 2017/03/08 by Chris.Babcock Update AAR handling to deal with versioning, subproject dependencies for resources, and scope #jira UE-42677 #ue4 #android Change 3338813 on 2017/03/08 by Chris.Babcock Pass build configuration to UPL for access during packaging as $S(Configuration) #jira UE-42678 #ue4 #android #ios Change 3339401 on 2017/03/09 by Alicia.Cano Android runtime permissions - Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds - Fix for Location Services - Fix for if target sdk is not set to 23+ #jira UE-38512 #android #rb: chris.babcock Change 3340736 on 2017/03/09 by Chris.Babcock Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing) #jira UE-41965 #PR #3254 #ue4 #android Change 3340744 on 2017/03/09 by Jack.Porter Expose Custom Depth to Foliage #jira UE-6061 Change 3340849 on 2017/03/09 by Dmitriy.Dyomin Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s. #jira UE-42351 Change 3341268 on 2017/03/10 by Alicia.Cano PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm) #jira UE-37945 #android #rb: chris.babcock, jack.porter Change 3341303 on 2017/03/10 by Allan.Bentham Remove optimisation that prevents full specular occulsion on mobile. PR #3186 : Specular can't be blocked on high-end mobile. #jira UE-41393 Change 3342304 on 2017/03/10 by Alicia.Cano build fix #rb: chris.babcock Change 3343344 on 2017/03/13 by Alicia.Cano build fix #rb: chris.babcock Change 3343591 on 2017/03/13 by Brent.Pease iOS multiplayer fix part 1. Correct byte ordering. #jira UE-34875 Change 3343669 on 2017/03/13 by Chris.Babcock Update carefullyredist script version #jira UE-42832 Change 3344212 on 2017/03/13 by Will.Fissler Various compile fixes for Xcode 8.3. These fixes must also be added to //UE4/Release-4.15. #jira UE-41313 Change 3344396 on 2017/03/13 by Chris.Babcock Fix Java 1.5 obsolete warnings #jira UE-42851 #ue4 #android Change 3345132 on 2017/03/14 by Will.Fissler Added ifdef wrapper to check clang version for presentDrawable. Change 3345336 on 2017/03/14 by Will.Fissler Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method. Change 3345460 on 2017/03/14 by Will.Fissler ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none Change 3346046 on 2017/03/14 by Will.Fissler Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging. Change 3346367 on 2017/03/14 by Chris.Babcock Fix issue with GoogleVR ARMv7 libraries included for other architectures in link #ue4 #android Change 3347682 on 2017/03/15 by Allan.Bentham Enable HW sRGB correction with retainer widget's render target. Use slate's gamma correction for mobile (where no such support exists) Render retainer box RT content with gamma correction. #jira UE-40967 Change 3348712 on 2017/03/15 by Nick.Shin HTML5 - upload to S3 updated to AWS "signature version 4" authentication #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349254 on 2017/03/16 by Jack.Porter Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled. #jira UE-42971 Change 3349739 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 better error message feedback on upload failures #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349765 on 2017/03/16 by Alicia.Cano Disable mouseover events in Mobile Previewer #jira UE-19903 #mobile #rb: Jack.Porter Change 3350049 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 folder in bucket is optional #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3350153 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 updated S3 public link generator #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3351582 on 2017/03/17 by Will.Fissler Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9"; Currently we cannot build arm64 for iOS with this change. Change 3352085 on 2017/03/17 by Alicia.Cano iOS doesn't honor request to close the virtual keyboard leading to a crash #jira UE-36447 #ios #rb:Peter.Sauerbrei Change 3353313 on 2017/03/19 by Ben.Marsh Always allow large *.js files in Github. Change 3354444 on 2017/03/20 by Nick.Shin HTML5 - upload to S3 to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3355618 on 2017/03/20 by Nick.Shin HTML5 Save Game System - ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp - cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version) - created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code #jira UE-42081 Remove heinous HTML5 code from engine Change 3355621 on 2017/03/20 by Nick.Shin remove temp debugging code #jira UE-42081 Remove heinous HTML5 code from engine Change 3356937 on 2017/03/21 by Chris.Babcock Add "stat vulkanrhi" to new console dropdown #jira UE-43149 #ue4 #android Change 3357652 on 2017/03/21 by Nick.Shin HTML5 performance speed ups added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate) - this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel this option is based on the suggestions by jukka's post: - https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden... #jira UE-30214 - Implement a warning message for fps settings Change 3360415 on 2017/03/23 by Allan.Bentham Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes. Change 3360418 on 2017/03/23 by Allan.Bentham Disable filmic tonemapper if r.MobileHDR32bppMode is in use. #jira UE-40913 Change 3360557 on 2017/03/23 by Allan.Bentham Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview. #jira UE-42131 Change 3362258 on 2017/03/23 by Dmitriy.Dyomin Fixed: Canvas texture element gamma issues on iOS Metal Change 3362321 on 2017/03/24 by Dmitriy.Dyomin GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen) #3173 Change 3363550 on 2017/03/24 by Alicia.Cano build fix for devices < Android 5.0 #jira UE-43299 #android #rb: chris.babcock Change 3363687 on 2017/03/24 by Chris.Babcock Fix Android password hiding in input dialog #jira WEX-5159 #ue4 #android Change 3365280 on 2017/03/27 by Dmitriy.Dyomin Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension Change 3365291 on 2017/03/27 by Dmitriy.Dyomin Copied form WEX CL# 3308653 Fixed: Enabling shader cache causes crash on NVIDIA Shield #jira UE-41639 Change 3365293 on 2017/03/27 by Dmitriy.Dyomin GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik) #jira UE-43247 #3411 Change 3365340 on 2017/03/27 by Dmitriy.Dyomin Fixed: Moving sublevel in world composition browser does not appear in Undo History #jira UE-35535 Change 3365564 on 2017/03/27 by Allan.Bentham SkyLightComponent now serializes IrradianceMap SH values. clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures. Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt. #jira UE-42436 Change 3366282 on 2017/03/27 by Nick.Shin remove dead links these files to not exist anywhere in the make-3.81 subfolders #UDN-354501 #jira none Change 3366306 on 2017/03/27 by Nick.Shin HTML5 - disable multi-threading for wasm #jira UE-43219 - HTML5 disable multi-threading for wasm Change 3366307 on 2017/03/27 by Nick.Shin HTML5 packaging Shipping builds big cleanup / additions to *gz file support for amazon s3 * both, uploading to s3 * and allowing s3 to host the games there #jira UE-43002 HTML5 in Shipping fails downloading symbols files #jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected. Change 3367385 on 2017/03/28 by Allan.Bentham Display skylight serialization warning only when cooking for mobile platforms. #jira UE-42436 Change 3368583 on 2017/03/28 by Chris.Babcock Expose JAVA_HOME setting in Android SDK project settings on Mac #jira UE-43418 #ue4 #android Change 3368803 on 2017/03/28 by Chris.Babcock Fix features requested in manifest for "Daydream and Cardboard" mode #jira UE-43314 #ue4 #android Change 3369087 on 2017/03/28 by Jack.Porter Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP #jira UE-42438 Change 3369372 on 2017/03/29 by Allan.Bentham Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled. #jira UE-43366 Change 3369381 on 2017/03/29 by Jack.Porter Show warnings when mobile shader permutations required for rendering are disbaled Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering. #jira UE-43050 Change 3369430 on 2017/03/29 by Allan.Bentham fix CIS build Change 3369740 on 2017/03/29 by Allan.Bentham Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility) Android links with -gc-sections to remove unused code/data Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro. Add support for map file generation with android. Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig() bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini #jira UEMOB-168 Change 3369975 on 2017/03/29 by Nick.Shin HTML5 - AWS S3 shareable link for shipping builds corrected #jira UE-43379 Amazon S3 Shareable link does not generate correct filepath. Change 3369998 on 2017/03/29 by Nick.Shin HTML5 python build scripts PR: https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3 #jira none Change 3370214 on 2017/03/29 by Nick.Shin HTML5 - default bUseFixedTimeStep to false... #jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms Change 3370762 on 2017/03/29 by Chris.Babcock Fixes to new keyboard for Android - Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference. - Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets. #ue4 #android Change 3371344 on 2017/03/30 by Jack.Porter Fixed issue where Vulkan screenshot R/B channels were reversed on Android #jira UE-43479 Change 3372926 on 2017/03/30 by Peter.Sauerbrei start the process of sunsetting 32-bit and GLES2 on iOS #jira UE-42266 Change 3372970 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3372989 on 2017/03/30 by Peter.Sauerbrei fix for Xcode 8.3 build with 32-bit Change 3373007 on 2017/03/30 by Peter.Sauerbrei fix for crash when online subsystem is disabled on IOS Change 3373108 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373163 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373169 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support license file updated #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rnx Change 3373287 on 2017/03/30 by Nick.Shin HTML5 - 1.36.11 emscripten - remove old SDK #jira none #rnx Change 3373289 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373595 on 2017/03/30 by Chris.Babcock Reenable GooglePlay for ARM64 now that it doesn't crash #jira UE-36198 #ue4 #android Change 3373606 on 2017/03/30 by Chris.Babcock Submitting Allan's shelved EXT_shader_framebuffer_fetch fix #ue4 #android Change 3375456 on 2017/03/31 by Chris.Babcock Add missing keycodes for Android keyboard (@ and #) #jira WEX-5777 #ue4 #android Change 3376309 on 2017/04/03 by Allan.Bentham Fix overflow issues with mobile DoF. Change 3377041 on 2017/04/03 by Will.Fissler Adding Testbed content for PlatformShowcase. Change 3377582 on 2017/04/03 by Alicia.Cano adding back in GET_ACCOUNTS permission as it is required for Reset Achievements #jira: UE-43265 #android #rb: Chris.Babcock Change 3377643 on 2017/04/03 by Peter.Sauerbrei fix for memory leak in MallocBinned #jira UE-43008 Change 3378033 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3378034 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty build scripts #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3378035 on 2017/04/04 by Nick.Shin HTML5 - Update GameX template to make it work with trunk Emscripten PR https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978 #jira none #rn Change 3378044 on 2017/04/04 by Nick.Shin HTML5 harfbuzz - double checking recompiled with NO multithreading wasm currently does not support pthreads *** THIS IS STILL WIP *** checking in to match 3rd party libs compiled configuration #jira UE-28588 - Build HarfBuzz for HTML5 #rnx Change 3378264 on 2017/04/04 by Allan.Bentham Fix crash when using consolas font on android sdk 24 #jira UE-43464 Change 3379097 on 2017/04/04 by Nick.Shin CIS HTML5 build warning fix #jria none #rnx Change 3379333 on 2017/04/04 by Chris.Babcock Prevent inserting extra permissions into manifest multiple times #jira UE-43583 #ue4 #android Change 3380870 on 2017/04/05 by Chris.Babcock Fix merge issue Change 3380898 on 2017/04/05 by Chris.Babcock Fixed again Change 3381443 on 2017/04/05 by Chris.Babcock Fix for GearVR non-unity build #ue4 #android Change 3381941 on 2017/04/05 by Chris.Babcock Fix HTTPChunkInstaller texture format checks and missing #define warning #jira UE-43706 #ue4 #android Change 3382056 on 2017/04/05 by Chris.Babcock Updates to Android AARs needed for Facebook plugin Change 3382097 on 2017/04/05 by Chris.Babcock Disable java console cmd receiver only in shipping builds #jira UE-43710 #ue4 #android Change 3382497 on 2017/04/06 by Allan.Bentham Fix Fortnite Cooked Server crashes when joining game from lobby. #jira UE-43695 Change 3383227 on 2017/04/06 by Will.Fissler Reverted case sensitive change, from yesterday, and implemented a pragma instead. #jira UE-41313 [CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
#include "GameFramework/WorldSettings.h"
#include "ShaderCompiler.h"
#define LOCTEXT_NAMESPACE "WorldBrowser"
FLevelCollectionModel::FLevelCollectionModel()
: bRequestedUpdateAllLevels(false)
, bRequestedRedrawAllLevels(false)
, bRequestedUpdateActorsCount(false)
, CommandList(MakeShareable(new FUICommandList))
, Filters(MakeShareable(new LevelFilterCollection))
, WorldSize(FIntPoint::ZeroValue)
, bDisplayPaths(false)
, bCanExecuteSCCCheckOut(false)
, bCanExecuteSCCOpenForAdd(false)
, bCanExecuteSCCCheckIn(false)
, bCanExecuteSCC(false)
, bSelectionHasChanged(true)
, bUpdatingLevelsSelection(false)
{
}
FLevelCollectionModel::~FLevelCollectionModel()
{
SaveSettings();
Filters->OnChanged().RemoveAll(this);
FWorldDelegates::LevelAddedToWorld.RemoveAll(this);
FWorldDelegates::LevelRemovedFromWorld.RemoveAll(this);
FEditorSupportDelegates::RedrawAllViewports.RemoveAll(this);
GEditor->OnLevelActorAdded().RemoveAll(this);
GEditor->OnLevelActorDeleted().RemoveAll(this);
if (CurrentWorld.IsValid())
{
CurrentWorld->OnSelectedLevelsChanged().RemoveAll(this);
}
}
void FLevelCollectionModel::Initialize(UWorld* InWorld)
{
LoadSettings();
CurrentWorld = InWorld;
Filters->OnChanged().AddSP(this, &FLevelCollectionModel::OnFilterChanged);
FWorldDelegates::LevelAddedToWorld.AddSP(this, &FLevelCollectionModel::OnLevelAddedToWorld);
FWorldDelegates::LevelRemovedFromWorld.AddSP(this, &FLevelCollectionModel::OnLevelRemovedFromWorld);
FEditorSupportDelegates::RedrawAllViewports.AddSP(this, &FLevelCollectionModel::OnRedrawAllViewports);
GEditor->OnLevelActorAdded().AddSP( this, &FLevelCollectionModel::OnLevelActorAdded);
GEditor->OnLevelActorDeleted().AddSP( this, &FLevelCollectionModel::OnLevelActorDeleted);
USelection::SelectionChangedEvent.AddSP(this, &FLevelCollectionModel::OnActorSelectionChanged);
SelectionChanged.AddSP(this, &FLevelCollectionModel::OnActorOrLevelSelectionChanged);
CurrentWorld->OnSelectedLevelsChanged().AddSP(this, &FLevelCollectionModel::OnLevelsSelectionChangedOutside);
PopulateLevelsList();
}
void FLevelCollectionModel::BindCommands()
{
const FLevelCollectionCommands& Commands = FLevelCollectionCommands::Get();
FUICommandList& ActionList = *CommandList;
ActionList.MapAction(Commands.RefreshBrowser,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::RefreshBrowser_Executed));
ActionList.MapAction(Commands.ExpandSelectedItems,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::ExpandSelectedItems_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnyLevelsSelected));
ActionList.MapAction(Commands.World_MakeLevelCurrent,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::MakeLevelCurrent_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::IsOneLevelSelected));
Copying //UE4/Dev-Editor to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2756103 on 2015/11/05 by Jamie.Dale Implemented UFont::GetResourceSize to work correctly with the Size Map tool Change 2756104 on 2015/11/05 by Jamie.Dale Changed the font used when a font is missing or invalid to be the last resort font, rather than the localized fallback font The localized fallback font could cause different results based on your culture, and the last resort font makes it clearer that something is set-up incorrectly as it just draws invalid glyph markers for all of the text. Change 2756105 on 2015/11/05 by Jamie.Dale Fixed a crash when using an empty FKey property with a Data Table FKeyStructCustomization was asserting because there were no objects being edited, due to a newly added Data Table containing zero rows. I've removed this assert, and also updated SKeySelector to no longer require a separate argument to say whether multiple keys with different values are selected (this is now calculated from the call to get the current key, which will return an empty TOptional for multiple values). #jira UE-22897 Change 2757015 on 2015/11/06 by Joe.Tidmarsh SSProgressBar marquee tint. Accounts for widget color and opacity. PR #1698 Change 2757156 on 2015/11/06 by Joe.Tidmarsh Implemented "Go to Variable" functionality for widgets in Widget Blueprint Editor. When we switch modes in UMG from Designer to Graph. We select the variable (In "My Blueprint"), if one exists, for the currently selected widget. Additionally we update the details panel. * Added SelectGraphActionItemByName to FBlueprintEditor. This selects an item in My Blueprint and also displays it in the details panel of graph mode. SMyBlueprint is not available to FWidgetBlueprintEditor in UMGEditor module as it's privately implemented within Kismet. #rb Ben.Cosh #jira UE-20170 Change 2757181 on 2015/11/06 by Jamie.Dale Cleaned up some duplication in UMG text widgets, and exposed the text shaping options The common properties used by all text widgets that are text layout based have been moved into a UTextLayoutWidget base class, and all text layout based widgets now derive from this. The options needed to control the text shaping method used by a text based widget have been exposed via the FShapedTextOptions struct. This contains a way to manage these optional (and advanced) overrides. You typically wouldn't change these from the default unless you knew exactly what you were doing (eg, you have a text block containing only numbers). This change also updates SRichTextBlock to work with an invalidation panel in the same way that STextBlock does Change 2757734 on 2015/11/06 by David.Nikdel #UE4 #Editor - Added support for meta=(TitleProperty="StructPropertyNameHere") on properties of type TArray<FSomeStruct>. - This changes the editor rolled-up display of these values from "{0} members" to a stringified version of the specified property (if found). #CodeReview: Matt.Kuhlenschmidt Change 2758786 on 2015/11/09 by Joe.Tidmarsh Border widget now correctly synchronizes padding property #jira UE-23070 Change 2758791 on 2015/11/09 by Joe.Tidmarsh Shadow of FCanvasTextItem should be drawn before the outline color. Consulted with Bruce.N who believes this is not the intended behavior and was an oversight when refactoring FCanvas (CL 1695138) #jira UE-21623 #1608 #rb Simon.Tovey, Bruce.Nesbit Change 2758813 on 2015/11/09 by Joe.Tidmarsh UMG: Attempting to parent multiple widgets (in Hierarchy tree) to a widget that can't have multiple children will notify the user and ignore the operation. [UE-22921] [CrashReport] Parenting multiple actors under border crashes editor #jira UE-22921 Change 2759234 on 2015/11/09 by Nick.Darnell Slate - Improving the way we track references to materials in slate to better keep things alive until they're no longer needed for rendering. Additionally, making it so the we use the material and texture free list when possible when cleaning up things as to not allocate new memory if not required. Concidentually this can help with problems with corrupted memory on destruct as well, because it means the memory isn't really going to become garbage any more. #codereview Matt.Kuhlenschmidt, Bob.Tellez Change 2760954 on 2015/11/10 by Nick.Darnell Slate - A bug in the introduction of custom rendered elements accidentally broke filling out the texture coordinates for standard material usage. Materials should once again tile correctly just like images do. #jira UE-23118 Change 2761129 on 2015/11/10 by Nick.Darnell Slate - Removing the Pre-Multiply alpha path the way it was added, introducing it in a way that doesn't require changes inside the shader. Continuing to improve the SRetainerWidget to no longer have a frame delay between resizes and painting, also working on getting it handle clipping correctly but still not there yet. Change 2761391 on 2015/11/10 by Alexis.Matte jira UE-20281 and UE-22259 Fbx scene Re-import workflow - First draft of the reimport workflow using a reimport asset in the content browser #codereview nick.darnell Change 2762323 on 2015/11/11 by Alexis.Matte fix build compilation Change 2762407 on 2015/11/11 by Jamie.Dale UDataTable::SaveStructData now writes out dummy data when RowStruct is null This didn't used to happen, which would cause a miss-match between what UDataTable::LoadStructData was expecting, and would result in a Data Table that could never be loaded again. This change also improves the error message when editing a Data Table with a null row struct, and adds the editor-only RowStructName property to cache the name of the last used struct (for error reporting). #jira UE-22789 Change 2762508 on 2015/11/11 by Nick.Darnell UMG - Making it more obvious what keys do special stuff with anchors in UMG. Fixing the way snapping to anchors works with Control, it now only zeros out the side you're dragging instead of the entire widget, which was silly. Enhancing the designer message system to no longer be based on an enum and instead let arbitrary systems push and pop FText messages. Fixing animations in the anchor drop down to properly animate, broke when we introduced active timers. Change 2763241 on 2015/11/11 by Nick.Darnell Slate - We no longer allow popup windows to be larger than the primary display window for windows where max width/height is unspecified. This is to prevent accidential creation of tooltip windows that are larger than the driver allows causing crashes. #jira UE-20336
2015-12-12 08:54:23 -05:00
ActionList.MapAction(Commands.World_FindInContentBrowser,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::FindInContentBrowser_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::IsValidFindInContentBrowser));
ActionList.MapAction(Commands.MoveActorsToSelected,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::MoveActorsToSelected_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::IsValidMoveActorsToLevel));
ActionList.MapAction(Commands.MoveFoliageToSelected,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::MoveFoliageToSelected_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::IsValidMoveFoliageToLevel));
ActionList.MapAction(Commands.World_SaveSelectedLevels,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::SaveSelectedLevels_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnySelectedLevelsDirty));
ActionList.MapAction(Commands.World_SaveSelectedLevelAs,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::SaveSelectedLevelAs_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::IsSelectedLevelEditable));
ActionList.MapAction(Commands.World_LoadLevel,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::LoadSelectedLevels_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnySelectedLevelsUnloaded));
ActionList.MapAction(Commands.World_UnloadLevel,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::UnloadSelectedLevels_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnySelectedLevelsLoaded));
ActionList.MapAction( Commands.World_MigrateSelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::MigrateSelectedLevels_Executed),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAllSelectedLevelsEditable));
//actors
ActionList.MapAction(Commands.AddsActors,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::SelectActors_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnySelectedLevelsEditable));
ActionList.MapAction(Commands.RemovesActors,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::DeselectActors_Executed),
FCanExecuteAction::CreateSP(this, &FLevelCollectionModel::AreAnySelectedLevelsEditable));
//visibility
ActionList.MapAction( Commands.World_ShowSelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::ShowSelectedLevels_Executed ),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAnySelectedLevelsLoaded ) );
ActionList.MapAction( Commands.World_HideSelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::HideSelectedLevels_Executed ),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAnySelectedLevelsLoaded ) );
ActionList.MapAction( Commands.World_ShowOnlySelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::ShowOnlySelectedLevels_Executed ),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAnySelectedLevelsLoaded ) );
ActionList.MapAction(Commands.World_ShowAllLevels,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::ShowAllLevels_Executed));
ActionList.MapAction(Commands.World_HideAllLevels,
FExecuteAction::CreateSP(this, &FLevelCollectionModel::HideAllLevels_Executed));
//lock
ActionList.MapAction( Commands.World_LockSelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::LockSelectedLevels_Executed ),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAnySelectedLevelsEditable ) );
ActionList.MapAction( Commands.World_UnockSelectedLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::UnlockSelectedLevels_Executed ),
FCanExecuteAction::CreateSP( this, &FLevelCollectionModel::AreAnySelectedLevelsEditable ) );
ActionList.MapAction( Commands.World_LockAllLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::LockAllLevels_Executed ) );
ActionList.MapAction( Commands.World_UnockAllLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::UnockAllLevels_Executed ) );
ActionList.MapAction( Commands.World_LockReadOnlyLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::ToggleReadOnlyLevels_Executed ) );
ActionList.MapAction( Commands.World_UnlockReadOnlyLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::ToggleReadOnlyLevels_Executed ) );
//level selection
ActionList.MapAction( Commands.SelectAllLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::SelectAllLevels_Executed ) );
ActionList.MapAction( Commands.DeselectAllLevels,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::DeselectAllLevels_Executed ) );
ActionList.MapAction( Commands.InvertLevelSelection,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::InvertSelection_Executed ) );
//source control
ActionList.MapAction( Commands.SCCCheckOut,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCCheckOut ) );
ActionList.MapAction( Commands.SCCCheckIn,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCCheckIn ) );
ActionList.MapAction( Commands.SCCOpenForAdd,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCOpenForAdd ) );
ActionList.MapAction( Commands.SCCHistory,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCHistory ) );
ActionList.MapAction( Commands.SCCRefresh,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCRefresh ) );
ActionList.MapAction( Commands.SCCDiffAgainstDepot,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCDiffAgainstDepot ) );
ActionList.MapAction( Commands.SCCConnect,
FExecuteAction::CreateSP( this, &FLevelCollectionModel::OnSCCConnect ) );
}
void FLevelCollectionModel::PopulateLevelsList()
{
RootLevelsList.Empty();
AllLevelsList.Empty();
FilteredLevelsList.Empty();
SelectedLevelsList.Empty();
AllLevelsMap.Empty();
OnLevelsCollectionChanged();
}
void FLevelCollectionModel::PopulateFilteredLevelsList()
{
FilteredLevelsList.Empty();
// Filter out our flat list
for (auto& LevelModel : AllLevelsList)
{
LevelModel->SetLevelFilteredOutFlag(true);
if (LevelModel->IsPersistent() || PassesAllFilters(*LevelModel))
{
FilteredLevelsList.Add(LevelModel);
LevelModel->SetLevelFilteredOutFlag(false);
}
}
// Walk through hierarchy and filter it out
for (auto It = RootLevelsList.CreateIterator(); It; ++It)
{
(*It)->OnFilterChanged();
}
}
void FLevelCollectionModel::Tick( float DeltaTime )
{
if (GEditor == nullptr)
{
// Could it be during hot-reloading?
return;
}
if (bRequestedUpdateAllLevels)
{
UpdateAllLevels();
}
if (bRequestedRedrawAllLevels)
{
RedrawAllLevels();
}
if (bRequestedUpdateActorsCount)
{
UpdateLevelActorsCount();
}
if (IsSimulating())
{
// Reset simulation status for all levels
for (TSharedPtr<FLevelModel>& LevelModel : AllLevelsList)
{
LevelModel->UpdateSimulationStatus(nullptr);
}
// Traverse streaming levels and update simulation status for corresponding level models
for (ULevelStreaming* StreamingLevel : GetSimulationWorld()->StreamingLevels)
{
// Rebuild the original NonPrefixedPackageName so we can find it
const FString PrefixedPackageName = StreamingLevel->GetWorldAssetPackageName();
const FString NonPrefixedPackageName = FPackageName::GetLongPackagePath(PrefixedPackageName) + "/"
+ FPackageName::GetLongPackageAssetName(PrefixedPackageName).RightChop(GetSimulationWorld()->StreamingLevelsPrefix.Len());
TSharedPtr<FLevelModel> LevelModel = FindLevelModel(FName(*NonPrefixedPackageName));
if (LevelModel.IsValid())
{
LevelModel->UpdateSimulationStatus(StreamingLevel);
}
}
}
}
TStatId FLevelCollectionModel::GetStatId() const
{
RETURN_QUICK_DECLARE_CYCLE_STAT(FLevelCollectionModel, STATGROUP_Tickables);
}
bool FLevelCollectionModel::IsReadOnly() const
{
// read only in PIE/SIE
return IsSimulating();
}
bool FLevelCollectionModel::IsSimulating() const
{
return (GEditor->bIsSimulatingInEditor || GEditor->PlayWorld != NULL);
}
UWorld* FLevelCollectionModel::GetSimulationWorld() const
{
return GEditor->PlayWorld;
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3292174 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Linux toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292193 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - ThirdParty libs compiled with new toolchain with wasm support #jira UEPLAT-1437 Switch [to] web assembly Change 3292215 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and wbegl2 support - emscripten toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292222 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm support - ENGINE changes (c# & cpp files) #jira UEPLAT-1437 Switch [to] web assembly Change 3292223 on 2017/02/08 by Nick.Shin HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile Change 3292228 on 2017/02/08 by Nick.Shin HTML5 emscripten: webgl support - webgl patches - and a lot of UE4 patches to package HTML5 on LINUX - mostly from mozilla's jukka -- thx jukka! #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3292285 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Windows toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3293994 on 2017/02/09 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - OSX toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3294391 on 2017/02/09 by Nick.Shin HTML5 "black box issues" revisited - jukka rewrote the window resize handler -- much cleaner and more straightforward #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3296421 on 2017/02/10 by Jack.Porter Fix landscape spline segment splitting placing when using streaming levels Change 3296587 on 2017/02/10 by Jack.Porter Additional fix for landscape spline segment splitting when using streaming levels Change 3301241 on 2017/02/14 by Mi.Wang Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter Change 3301387 on 2017/02/14 by Nick.Shin HTML5 emscripten: webgl support - webgl patches from mozilla's jukka + hardware instancing + glBlitFramebuffer + GL AlaphaBlendOperation #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3301405 on 2017/02/14 by Nick.Shin HTML5 plugin fix when blueprint projects are promoted to code projects automatically. #jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc Change 3302278 on 2017/02/14 by Omar.Rodriguez UE-36651: Mac Vulkan Android Projects crash on launch. * Glslang library has been built for Mac but flag was not updated * Set GlslangAvailable to true for Mac when building an Android project with vulkan #jira UE-36651 Change 3302773 on 2017/02/14 by Chris.Babcock Add a dropdown with some common console commands on Android (contributed by rafortis) #jira UE-40834 #PR #3143 #ue4 #android Change 3305604 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader- turn on: instance static mesh vertex factory #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3308154 on 2017/02/16 by Nick.Shin HTML5 GitHub PR #jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5 Change 3308510 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3308971 on 2017/02/17 by Jack.Porter Fix for landscape painting when height<0 in the Ortho viewports Change 3309075 on 2017/02/17 by Allan.Bentham Include static subject meshes when masking out modulated shadow casters. #jira UE-41581 Change 3309531 on 2017/02/17 by Chris.Babcock Handle large OBB files in APK #jira UE-41443 #ue4 #android Change 3311320 on 2017/02/19 by Dmitriy.Dyomin Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU) #jira UE-41970 Change 3311347 on 2017/02/20 by Dmitriy.Dyomin Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil) #jira UE-41976 Change 3311398 on 2017/02/20 by Dmitriy.Dyomin Fixed: Landscapes do not render on PowerVR device #jira UE-35530 Change 3311428 on 2017/02/20 by Dmitriy.Dyomin Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes #jira UE-42036 Change 3311448 on 2017/02/20 by Dmitriy.Dyomin Fixed: Packaged game Crashes on android after entering "Help" command twice #jira UE-41956 Change 3311587 on 2017/02/20 by Allan.Bentham ES2 GLSL - Silently swap all uint to ints #jira UE-41548 Change 3313930 on 2017/02/21 by Allan.Bentham Print literal uints as ints when generating ES2 code. #jira UE-41548 Change 3317924 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317929 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317951 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318004 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318669 on 2017/02/23 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318672 on 2017/02/23 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318819 on 2017/02/23 by Dmitriy.Dyomin Fixed: Rendering artifacts with bloom on iPhone7 Metal #jira UE-40978 Change 3319702 on 2017/02/23 by Chris.Babcock Disable eglSwapInterval since it can cause issues with some drivers #ue4 #android Change 3320880 on 2017/02/24 by Dmitriy.Dyomin Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default) #jira UEMOB-195 Change 3321042 on 2017/02/24 by Jack.Porter Fixed incorrect sizeof in Vulkan pipleine cache pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/ #code_review: rolando.caloca Change 3322383 on 2017/02/24 by Chris.Babcock Fix issue with ad banner on Android 7.0 devices #jira UE-42390 #ue4 #android Change 3322479 on 2017/02/24 by Omar.Rodriguez UEMOB-199 - WEX: Improved virtual keyboard for Android * Calculating the area covered by the virtual keyboard * Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events * Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event #jira UEMOB-199 Change 3323353 on 2017/02/27 by Allan.Bentham Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis #jira UE-42191 Change 3323431 on 2017/02/27 by Allan.Bentham CIS fix Change 3323687 on 2017/02/27 by Allan.Bentham Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices. #jira UE-42131 Change 3324652 on 2017/02/28 by Dmitriy.Dyomin Fixed: Canvas elements appear darker on iOS Metal Change 3324885 on 2017/02/28 by Jack.Porter Fixed "Minimum iOS Version" setting display name #jira UE-42270 Change 3324899 on 2017/02/28 by Jack.Porter GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini #jira UE-40018 #3063 Change 3324932 on 2017/02/28 by Jack.Porter GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows #jira UE-41984 #3257 #codereview: Peter.Sauerbrei Change 3324956 on 2017/02/28 by Jack.Porter FOpenGLFrontend::GetMaxSamplers incorrect for IOS #jira UE-42038 #3264 Change 3325478 on 2017/02/28 by Allan.Bentham PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna) #jira UE-41442 Change 3327300 on 2017/03/01 by Allan.Bentham PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen) #jira UE-41257 Change 3328917 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini #jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac #jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings Change 3329169 on 2017/03/02 by Allan.Bentham increase render thread timeout to 1 minute for suntemple / android. Prevents low end devices timing out during load. #jira UE-40696 Change 3330849 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3331078 on 2017/03/03 by Dmitriy.Dyomin Fixed: Device output log partial lines integrated from WEX (3250488) Change 3331112 on 2017/03/03 by Dmitriy.Dyomin Reduced state setup for slate draw calls (saves about 4ms RT time on mobile) integrated from WEX (3256584) Change 3331117 on 2017/03/03 by Dmitriy.Dyomin Fixed redundant blend state changes in opengl integrated from WEX (3256586) Change 3331173 on 2017/03/03 by Dmitriy.Dyomin Slate pixel shaders will use half precision where possible on mobile integrated from WEX (3256656) Change 3332865 on 2017/03/06 by Dmitriy.Dyomin Better MobileContentScaleFactor defaults for iOS devices #jira UEMOB-330 Change 3333129 on 2017/03/06 by Peter.Sauerbrei move to Library/Caches instead of documents for saved files re-enable iterative deploy on TVOS #jira UEMOB-284 Change 3334692 on 2017/03/06 by Jack.Porter Allow r.MobileContentScaleFactor to be changed at runtime on Android #jira UEMOB-173 Change 3336255 on 2017/03/07 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3337094 on 2017/03/08 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3338800 on 2017/03/08 by Chris.Babcock Update AAR handling to deal with versioning, subproject dependencies for resources, and scope #jira UE-42677 #ue4 #android Change 3338813 on 2017/03/08 by Chris.Babcock Pass build configuration to UPL for access during packaging as $S(Configuration) #jira UE-42678 #ue4 #android #ios Change 3339401 on 2017/03/09 by Alicia.Cano Android runtime permissions - Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds - Fix for Location Services - Fix for if target sdk is not set to 23+ #jira UE-38512 #android #rb: chris.babcock Change 3340736 on 2017/03/09 by Chris.Babcock Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing) #jira UE-41965 #PR #3254 #ue4 #android Change 3340744 on 2017/03/09 by Jack.Porter Expose Custom Depth to Foliage #jira UE-6061 Change 3340849 on 2017/03/09 by Dmitriy.Dyomin Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s. #jira UE-42351 Change 3341268 on 2017/03/10 by Alicia.Cano PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm) #jira UE-37945 #android #rb: chris.babcock, jack.porter Change 3341303 on 2017/03/10 by Allan.Bentham Remove optimisation that prevents full specular occulsion on mobile. PR #3186 : Specular can't be blocked on high-end mobile. #jira UE-41393 Change 3342304 on 2017/03/10 by Alicia.Cano build fix #rb: chris.babcock Change 3343344 on 2017/03/13 by Alicia.Cano build fix #rb: chris.babcock Change 3343591 on 2017/03/13 by Brent.Pease iOS multiplayer fix part 1. Correct byte ordering. #jira UE-34875 Change 3343669 on 2017/03/13 by Chris.Babcock Update carefullyredist script version #jira UE-42832 Change 3344212 on 2017/03/13 by Will.Fissler Various compile fixes for Xcode 8.3. These fixes must also be added to //UE4/Release-4.15. #jira UE-41313 Change 3344396 on 2017/03/13 by Chris.Babcock Fix Java 1.5 obsolete warnings #jira UE-42851 #ue4 #android Change 3345132 on 2017/03/14 by Will.Fissler Added ifdef wrapper to check clang version for presentDrawable. Change 3345336 on 2017/03/14 by Will.Fissler Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method. Change 3345460 on 2017/03/14 by Will.Fissler ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none Change 3346046 on 2017/03/14 by Will.Fissler Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging. Change 3346367 on 2017/03/14 by Chris.Babcock Fix issue with GoogleVR ARMv7 libraries included for other architectures in link #ue4 #android Change 3347682 on 2017/03/15 by Allan.Bentham Enable HW sRGB correction with retainer widget's render target. Use slate's gamma correction for mobile (where no such support exists) Render retainer box RT content with gamma correction. #jira UE-40967 Change 3348712 on 2017/03/15 by Nick.Shin HTML5 - upload to S3 updated to AWS "signature version 4" authentication #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349254 on 2017/03/16 by Jack.Porter Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled. #jira UE-42971 Change 3349739 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 better error message feedback on upload failures #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349765 on 2017/03/16 by Alicia.Cano Disable mouseover events in Mobile Previewer #jira UE-19903 #mobile #rb: Jack.Porter Change 3350049 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 folder in bucket is optional #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3350153 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 updated S3 public link generator #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3351582 on 2017/03/17 by Will.Fissler Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9"; Currently we cannot build arm64 for iOS with this change. Change 3352085 on 2017/03/17 by Alicia.Cano iOS doesn't honor request to close the virtual keyboard leading to a crash #jira UE-36447 #ios #rb:Peter.Sauerbrei Change 3353313 on 2017/03/19 by Ben.Marsh Always allow large *.js files in Github. Change 3354444 on 2017/03/20 by Nick.Shin HTML5 - upload to S3 to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3355618 on 2017/03/20 by Nick.Shin HTML5 Save Game System - ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp - cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version) - created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code #jira UE-42081 Remove heinous HTML5 code from engine Change 3355621 on 2017/03/20 by Nick.Shin remove temp debugging code #jira UE-42081 Remove heinous HTML5 code from engine Change 3356937 on 2017/03/21 by Chris.Babcock Add "stat vulkanrhi" to new console dropdown #jira UE-43149 #ue4 #android Change 3357652 on 2017/03/21 by Nick.Shin HTML5 performance speed ups added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate) - this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel this option is based on the suggestions by jukka's post: - https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden... #jira UE-30214 - Implement a warning message for fps settings Change 3360415 on 2017/03/23 by Allan.Bentham Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes. Change 3360418 on 2017/03/23 by Allan.Bentham Disable filmic tonemapper if r.MobileHDR32bppMode is in use. #jira UE-40913 Change 3360557 on 2017/03/23 by Allan.Bentham Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview. #jira UE-42131 Change 3362258 on 2017/03/23 by Dmitriy.Dyomin Fixed: Canvas texture element gamma issues on iOS Metal Change 3362321 on 2017/03/24 by Dmitriy.Dyomin GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen) #3173 Change 3363550 on 2017/03/24 by Alicia.Cano build fix for devices < Android 5.0 #jira UE-43299 #android #rb: chris.babcock Change 3363687 on 2017/03/24 by Chris.Babcock Fix Android password hiding in input dialog #jira WEX-5159 #ue4 #android Change 3365280 on 2017/03/27 by Dmitriy.Dyomin Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension Change 3365291 on 2017/03/27 by Dmitriy.Dyomin Copied form WEX CL# 3308653 Fixed: Enabling shader cache causes crash on NVIDIA Shield #jira UE-41639 Change 3365293 on 2017/03/27 by Dmitriy.Dyomin GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik) #jira UE-43247 #3411 Change 3365340 on 2017/03/27 by Dmitriy.Dyomin Fixed: Moving sublevel in world composition browser does not appear in Undo History #jira UE-35535 Change 3365564 on 2017/03/27 by Allan.Bentham SkyLightComponent now serializes IrradianceMap SH values. clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures. Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt. #jira UE-42436 Change 3366282 on 2017/03/27 by Nick.Shin remove dead links these files to not exist anywhere in the make-3.81 subfolders #UDN-354501 #jira none Change 3366306 on 2017/03/27 by Nick.Shin HTML5 - disable multi-threading for wasm #jira UE-43219 - HTML5 disable multi-threading for wasm Change 3366307 on 2017/03/27 by Nick.Shin HTML5 packaging Shipping builds big cleanup / additions to *gz file support for amazon s3 * both, uploading to s3 * and allowing s3 to host the games there #jira UE-43002 HTML5 in Shipping fails downloading symbols files #jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected. Change 3367385 on 2017/03/28 by Allan.Bentham Display skylight serialization warning only when cooking for mobile platforms. #jira UE-42436 Change 3368583 on 2017/03/28 by Chris.Babcock Expose JAVA_HOME setting in Android SDK project settings on Mac #jira UE-43418 #ue4 #android Change 3368803 on 2017/03/28 by Chris.Babcock Fix features requested in manifest for "Daydream and Cardboard" mode #jira UE-43314 #ue4 #android Change 3369087 on 2017/03/28 by Jack.Porter Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP #jira UE-42438 Change 3369372 on 2017/03/29 by Allan.Bentham Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled. #jira UE-43366 Change 3369381 on 2017/03/29 by Jack.Porter Show warnings when mobile shader permutations required for rendering are disbaled Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering. #jira UE-43050 Change 3369430 on 2017/03/29 by Allan.Bentham fix CIS build Change 3369740 on 2017/03/29 by Allan.Bentham Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility) Android links with -gc-sections to remove unused code/data Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro. Add support for map file generation with android. Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig() bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini #jira UEMOB-168 Change 3369975 on 2017/03/29 by Nick.Shin HTML5 - AWS S3 shareable link for shipping builds corrected #jira UE-43379 Amazon S3 Shareable link does not generate correct filepath. Change 3369998 on 2017/03/29 by Nick.Shin HTML5 python build scripts PR: https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3 #jira none Change 3370214 on 2017/03/29 by Nick.Shin HTML5 - default bUseFixedTimeStep to false... #jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms Change 3370762 on 2017/03/29 by Chris.Babcock Fixes to new keyboard for Android - Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference. - Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets. #ue4 #android Change 3371344 on 2017/03/30 by Jack.Porter Fixed issue where Vulkan screenshot R/B channels were reversed on Android #jira UE-43479 Change 3372926 on 2017/03/30 by Peter.Sauerbrei start the process of sunsetting 32-bit and GLES2 on iOS #jira UE-42266 Change 3372970 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3372989 on 2017/03/30 by Peter.Sauerbrei fix for Xcode 8.3 build with 32-bit Change 3373007 on 2017/03/30 by Peter.Sauerbrei fix for crash when online subsystem is disabled on IOS Change 3373108 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373163 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373169 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support license file updated #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rnx Change 3373287 on 2017/03/30 by Nick.Shin HTML5 - 1.36.11 emscripten - remove old SDK #jira none #rnx Change 3373289 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373595 on 2017/03/30 by Chris.Babcock Reenable GooglePlay for ARM64 now that it doesn't crash #jira UE-36198 #ue4 #android Change 3373606 on 2017/03/30 by Chris.Babcock Submitting Allan's shelved EXT_shader_framebuffer_fetch fix #ue4 #android Change 3375456 on 2017/03/31 by Chris.Babcock Add missing keycodes for Android keyboard (@ and #) #jira WEX-5777 #ue4 #android Change 3376309 on 2017/04/03 by Allan.Bentham Fix overflow issues with mobile DoF. Change 3377041 on 2017/04/03 by Will.Fissler Adding Testbed content for PlatformShowcase. Change 3377582 on 2017/04/03 by Alicia.Cano adding back in GET_ACCOUNTS permission as it is required for Reset Achievements #jira: UE-43265 #android #rb: Chris.Babcock Change 3377643 on 2017/04/03 by Peter.Sauerbrei fix for memory leak in MallocBinned #jira UE-43008 Change 3378033 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3378034 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty build scripts #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3378035 on 2017/04/04 by Nick.Shin HTML5 - Update GameX template to make it work with trunk Emscripten PR https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978 #jira none #rn Change 3378044 on 2017/04/04 by Nick.Shin HTML5 harfbuzz - double checking recompiled with NO multithreading wasm currently does not support pthreads *** THIS IS STILL WIP *** checking in to match 3rd party libs compiled configuration #jira UE-28588 - Build HarfBuzz for HTML5 #rnx Change 3378264 on 2017/04/04 by Allan.Bentham Fix crash when using consolas font on android sdk 24 #jira UE-43464 Change 3379097 on 2017/04/04 by Nick.Shin CIS HTML5 build warning fix #jria none #rnx Change 3379333 on 2017/04/04 by Chris.Babcock Prevent inserting extra permissions into manifest multiple times #jira UE-43583 #ue4 #android Change 3380870 on 2017/04/05 by Chris.Babcock Fix merge issue Change 3380898 on 2017/04/05 by Chris.Babcock Fixed again Change 3381443 on 2017/04/05 by Chris.Babcock Fix for GearVR non-unity build #ue4 #android Change 3381941 on 2017/04/05 by Chris.Babcock Fix HTTPChunkInstaller texture format checks and missing #define warning #jira UE-43706 #ue4 #android Change 3382056 on 2017/04/05 by Chris.Babcock Updates to Android AARs needed for Facebook plugin Change 3382097 on 2017/04/05 by Chris.Babcock Disable java console cmd receiver only in shipping builds #jira UE-43710 #ue4 #android Change 3382497 on 2017/04/06 by Allan.Bentham Fix Fortnite Cooked Server crashes when joining game from lobby. #jira UE-43695 Change 3383227 on 2017/04/06 by Will.Fissler Reverted case sensitive change, from yesterday, and implemented a pragma instead. #jira UE-41313 [CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
bool FLevelCollectionModel::IsOriginRebasingEnabled() const
{
UWorld* ThisWorld = GetWorld();
return ThisWorld && ThisWorld->GetWorldSettings()->bEnableWorldOriginRebasing;
}
FLevelModelList& FLevelCollectionModel::GetRootLevelList()
{
return RootLevelsList;
}
const FLevelModelList& FLevelCollectionModel::GetAllLevels() const
{
return AllLevelsList;
}
const FLevelModelList& FLevelCollectionModel::GetFilteredLevels() const
{
return FilteredLevelsList;
}
const FLevelModelList& FLevelCollectionModel::GetSelectedLevels() const
{
return SelectedLevelsList;
}
void FLevelCollectionModel::AddFilter(const TSharedRef<LevelFilter>& InFilter)
{
Filters->Add(InFilter);
OnFilterChanged();
}
void FLevelCollectionModel::RemoveFilter(const TSharedRef<LevelFilter>& InFilter)
{
Filters->Remove(InFilter);
OnFilterChanged();
}
bool FLevelCollectionModel::IsFilterActive() const
{
return (AllLevelsList.Num() != FilteredLevelsList.Num());
}
void FLevelCollectionModel::SetSelectedLevels(const FLevelModelList& InList)
{
// Clear selection flag from currently selected levels
for (auto LevelModel : SelectedLevelsList)
{
LevelModel->SetLevelSelectionFlag(false);
}
SelectedLevelsList.Empty();
// Set selection flag to selected levels
for (auto& LevelModel : InList)
{
if (LevelModel.IsValid() && PassesAllFilters(*LevelModel))
{
LevelModel->SetLevelSelectionFlag(true);
SelectedLevelsList.Add(LevelModel);
}
}
OnLevelsSelectionChanged();
}
void FLevelCollectionModel::SetSelectedLevelsFromWorld()
{
TArray<ULevel*>& SelectedLevelObjects = CurrentWorld->GetSelectedLevels();
FLevelModelList LevelsToSelect;
for (ULevel* LevelObject : SelectedLevelObjects)
{
TSharedPtr<FLevelModel> LevelModel = FindLevelModel(LevelObject);
if (LevelModel.IsValid())
{
LevelsToSelect.Add(LevelModel);
}
}
SetSelectedLevels(LevelsToSelect);
}
TSharedPtr<FLevelModel> FLevelCollectionModel::FindLevelModel(ULevel* InLevel) const
{
if (InLevel)
{
for (auto It = AllLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->GetLevelObject() == InLevel)
{
return (*It);
}
}
}
// not found
return TSharedPtr<FLevelModel>();
}
TSharedPtr<FLevelModel> FLevelCollectionModel::FindLevelModel(const FName& PackageName) const
{
const TSharedPtr<FLevelModel>* LevelModel = AllLevelsMap.Find(PackageName);
if (LevelModel != NULL)
{
return *LevelModel;
}
// not found
return TSharedPtr<FLevelModel>();
}
void FLevelCollectionModel::IterateHierarchy(FLevelModelVisitor& Visitor)
{
for (auto It = RootLevelsList.CreateIterator(); It; ++It)
{
(*It)->Accept(Visitor);
}
}
void FLevelCollectionModel::HideLevels(const FLevelModelList& InLevelList)
{
if (IsReadOnly())
{
return;
}
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
(*It)->SetVisible(false);
}
RequestUpdateAllLevels();
}
void FLevelCollectionModel::ShowLevels(const FLevelModelList& InLevelList)
{
if (IsReadOnly())
{
return;
}
OnPreShowLevels(InLevelList);
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
(*It)->SetVisible(true);
}
RequestUpdateAllLevels();
}
void FLevelCollectionModel::UnlockLevels(const FLevelModelList& InLevelList)
{
if (!IsReadOnly())
{
const FText UndoTransactionText = (InLevelList.Num() == 1) ?
LOCTEXT("UnlockLevel", "Unlock Level") :
LOCTEXT("UnlockMultipleLevels", "Unlock Multiple Levels");
const FScopedTransaction Transaction(UndoTransactionText);
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
(*It)->SetLocked(false);
}
}
}
void FLevelCollectionModel::LockLevels(const FLevelModelList& InLevelList)
{
if (!IsReadOnly())
{
const FText UndoTransactionText = (InLevelList.Num() == 1) ?
LOCTEXT("LockLevel", "Lock Level") :
LOCTEXT("LockMultipleLevels", "Lock Multiple Levels");
const FScopedTransaction Transaction(UndoTransactionText);
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
(*It)->SetLocked(true);
}
}
}
void FLevelCollectionModel::SaveLevels(const FLevelModelList& InLevelList)
{
if (IsReadOnly())
{
return;
}
FLevelModelList LevelModelsToSave;
TArray<ULevel*> LevelsToSave;
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
if ((*It)->GetLevelObject())
{
if (!(*It)->IsVisible())
{
FMessageDialog::Open( EAppMsgType::Ok, NSLOCTEXT("UnrealEd", "UnableToSaveInvisibleLevels", "Save aborted. Levels must be made visible before they can be saved.") );
return;
}
else if ((*It)->IsLocked())
{
FMessageDialog::Open( EAppMsgType::Ok, NSLOCTEXT("UnrealEd", "UnableToSaveLockedLevels", "Save aborted. Level must be unlocked before it can be saved.") );
return;
}
LevelModelsToSave.Add(*It);
LevelsToSave.Add((*It)->GetLevelObject());
}
}
TArray< UPackage* > PackagesNotNeedingCheckout;
// Prompt the user to check out the levels from source control before saving
if (FEditorFileUtils::PromptToCheckoutLevels(false, LevelsToSave, &PackagesNotNeedingCheckout))
{
for (auto It = LevelsToSave.CreateIterator(); It; ++It)
{
FEditorFileUtils::SaveLevel(*It);
}
}
else if (PackagesNotNeedingCheckout.Num() > 0)
{
// The user canceled the checkout dialog but some packages didn't need to be checked out in order to save
// For each selected level if the package its in didn't need to be saved, save the level!
for (int32 LevelIdx = 0; LevelIdx < LevelsToSave.Num(); ++LevelIdx)
{
ULevel* Level = LevelsToSave[LevelIdx];
if (PackagesNotNeedingCheckout.Contains(Level->GetOutermost()))
{
FEditorFileUtils::SaveLevel(Level);
}
else
{
//remove it from the list, so that only successfully saved levels are highlighted when saving is complete
LevelModelsToSave.RemoveAt(LevelIdx);
LevelsToSave.RemoveAt(LevelIdx);
}
}
}
// Select tiles that were saved successfully
SetSelectedLevels(LevelModelsToSave);
}
void FLevelCollectionModel::LoadLevels(const FLevelModelList& InLevelList)
{
if (IsReadOnly())
{
return;
}
GWarn->BeginSlowTask(LOCTEXT("LoadWorldTiles", "Loading levels"), true);
OnPreLoadLevels(InLevelList);
int32 LevelIdx = 0;
for (TSharedPtr<FLevelModel> LevelModel : InLevelList)
{
GWarn->StatusUpdate(LevelIdx++, InLevelList.Num(),
FText::Format(LOCTEXT("LoadingWorldTiles", "Loading: {0}..." ), FText::FromString(LevelModel->GetLongPackageName().ToString()))
);
LevelModel->LoadLevel();
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3292174 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Linux toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292193 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - ThirdParty libs compiled with new toolchain with wasm support #jira UEPLAT-1437 Switch [to] web assembly Change 3292215 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and wbegl2 support - emscripten toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3292222 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm support - ENGINE changes (c# & cpp files) #jira UEPLAT-1437 Switch [to] web assembly Change 3292223 on 2017/02/08 by Nick.Shin HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile Change 3292228 on 2017/02/08 by Nick.Shin HTML5 emscripten: webgl support - webgl patches - and a lot of UE4 patches to package HTML5 on LINUX - mostly from mozilla's jukka -- thx jukka! #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3292285 on 2017/02/08 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - Windows toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3293994 on 2017/02/09 by Nick.Shin HTML5 emscripten: wasm and webgl2 support - OSX toolchain #jira UEPLAT-1437 Switch [to] web assembly Change 3294391 on 2017/02/09 by Nick.Shin HTML5 "black box issues" revisited - jukka rewrote the window resize handler -- much cleaner and more straightforward #jira UE-36341 HTML5 - View is incorrectly drawn #jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On Change 3296421 on 2017/02/10 by Jack.Porter Fix landscape spline segment splitting placing when using streaming levels Change 3296587 on 2017/02/10 by Jack.Porter Additional fix for landscape spline segment splitting when using streaming levels Change 3301241 on 2017/02/14 by Mi.Wang Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter Change 3301387 on 2017/02/14 by Nick.Shin HTML5 emscripten: webgl support - webgl patches from mozilla's jukka + hardware instancing + glBlitFramebuffer + GL AlaphaBlendOperation #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3301405 on 2017/02/14 by Nick.Shin HTML5 plugin fix when blueprint projects are promoted to code projects automatically. #jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc Change 3302278 on 2017/02/14 by Omar.Rodriguez UE-36651: Mac Vulkan Android Projects crash on launch. * Glslang library has been built for Mac but flag was not updated * Set GlslangAvailable to true for Mac when building an Android project with vulkan #jira UE-36651 Change 3302773 on 2017/02/14 by Chris.Babcock Add a dropdown with some common console commands on Android (contributed by rafortis) #jira UE-40834 #PR #3143 #ue4 #android Change 3305604 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader- turn on: instance static mesh vertex factory #jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5 Change 3308154 on 2017/02/16 by Nick.Shin HTML5 GitHub PR #jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5 Change 3308510 on 2017/02/16 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3308971 on 2017/02/17 by Jack.Porter Fix for landscape painting when height<0 in the Ortho viewports Change 3309075 on 2017/02/17 by Allan.Bentham Include static subject meshes when masking out modulated shadow casters. #jira UE-41581 Change 3309531 on 2017/02/17 by Chris.Babcock Handle large OBB files in APK #jira UE-41443 #ue4 #android Change 3311320 on 2017/02/19 by Dmitriy.Dyomin Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU) #jira UE-41970 Change 3311347 on 2017/02/20 by Dmitriy.Dyomin Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil) #jira UE-41976 Change 3311398 on 2017/02/20 by Dmitriy.Dyomin Fixed: Landscapes do not render on PowerVR device #jira UE-35530 Change 3311428 on 2017/02/20 by Dmitriy.Dyomin Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes #jira UE-42036 Change 3311448 on 2017/02/20 by Dmitriy.Dyomin Fixed: Packaged game Crashes on android after entering "Help" command twice #jira UE-41956 Change 3311587 on 2017/02/20 by Allan.Bentham ES2 GLSL - Silently swap all uint to ints #jira UE-41548 Change 3313930 on 2017/02/21 by Allan.Bentham Print literal uints as ints when generating ES2 code. #jira UE-41548 Change 3317924 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317929 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3317951 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318004 on 2017/02/22 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318669 on 2017/02/23 by Nick.Shin HTML5 emscripten: wasm & webgl2 support - RC1 - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318672 on 2017/02/23 by Nick.Shin HTML5 webgl2 shader fixes #jria UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3318819 on 2017/02/23 by Dmitriy.Dyomin Fixed: Rendering artifacts with bloom on iPhone7 Metal #jira UE-40978 Change 3319702 on 2017/02/23 by Chris.Babcock Disable eglSwapInterval since it can cause issues with some drivers #ue4 #android Change 3320880 on 2017/02/24 by Dmitriy.Dyomin Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default) #jira UEMOB-195 Change 3321042 on 2017/02/24 by Jack.Porter Fixed incorrect sizeof in Vulkan pipleine cache pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/ #code_review: rolando.caloca Change 3322383 on 2017/02/24 by Chris.Babcock Fix issue with ad banner on Android 7.0 devices #jira UE-42390 #ue4 #android Change 3322479 on 2017/02/24 by Omar.Rodriguez UEMOB-199 - WEX: Improved virtual keyboard for Android * Calculating the area covered by the virtual keyboard * Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events * Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event #jira UEMOB-199 Change 3323353 on 2017/02/27 by Allan.Bentham Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis #jira UE-42191 Change 3323431 on 2017/02/27 by Allan.Bentham CIS fix Change 3323687 on 2017/02/27 by Allan.Bentham Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices. #jira UE-42131 Change 3324652 on 2017/02/28 by Dmitriy.Dyomin Fixed: Canvas elements appear darker on iOS Metal Change 3324885 on 2017/02/28 by Jack.Porter Fixed "Minimum iOS Version" setting display name #jira UE-42270 Change 3324899 on 2017/02/28 by Jack.Porter GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini #jira UE-40018 #3063 Change 3324932 on 2017/02/28 by Jack.Porter GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows #jira UE-41984 #3257 #codereview: Peter.Sauerbrei Change 3324956 on 2017/02/28 by Jack.Porter FOpenGLFrontend::GetMaxSamplers incorrect for IOS #jira UE-42038 #3264 Change 3325478 on 2017/02/28 by Allan.Bentham PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna) #jira UE-41442 Change 3327300 on 2017/03/01 by Allan.Bentham PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen) #jira UE-41257 Change 3328917 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini #jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac #jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings Change 3329169 on 2017/03/02 by Allan.Bentham increase render thread timeout to 1 minute for suntemple / android. Prevents low end devices timing out during load. #jira UE-40696 Change 3330849 on 2017/03/02 by Nick.Shin HTML5 project settings expose ini settings to edtior HTML5 project settings panel #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3331078 on 2017/03/03 by Dmitriy.Dyomin Fixed: Device output log partial lines integrated from WEX (3250488) Change 3331112 on 2017/03/03 by Dmitriy.Dyomin Reduced state setup for slate draw calls (saves about 4ms RT time on mobile) integrated from WEX (3256584) Change 3331117 on 2017/03/03 by Dmitriy.Dyomin Fixed redundant blend state changes in opengl integrated from WEX (3256586) Change 3331173 on 2017/03/03 by Dmitriy.Dyomin Slate pixel shaders will use half precision where possible on mobile integrated from WEX (3256656) Change 3332865 on 2017/03/06 by Dmitriy.Dyomin Better MobileContentScaleFactor defaults for iOS devices #jira UEMOB-330 Change 3333129 on 2017/03/06 by Peter.Sauerbrei move to Library/Caches instead of documents for saved files re-enable iterative deploy on TVOS #jira UEMOB-284 Change 3334692 on 2017/03/06 by Jack.Porter Allow r.MobileContentScaleFactor to be changed at runtime on Android #jira UEMOB-173 Change 3336255 on 2017/03/07 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3337094 on 2017/03/08 by Nick.Shin HTML5 project settings marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently... #jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini Change 3338800 on 2017/03/08 by Chris.Babcock Update AAR handling to deal with versioning, subproject dependencies for resources, and scope #jira UE-42677 #ue4 #android Change 3338813 on 2017/03/08 by Chris.Babcock Pass build configuration to UPL for access during packaging as $S(Configuration) #jira UE-42678 #ue4 #android #ios Change 3339401 on 2017/03/09 by Alicia.Cano Android runtime permissions - Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds - Fix for Location Services - Fix for if target sdk is not set to 23+ #jira UE-38512 #android #rb: chris.babcock Change 3340736 on 2017/03/09 by Chris.Babcock Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing) #jira UE-41965 #PR #3254 #ue4 #android Change 3340744 on 2017/03/09 by Jack.Porter Expose Custom Depth to Foliage #jira UE-6061 Change 3340849 on 2017/03/09 by Dmitriy.Dyomin Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s. #jira UE-42351 Change 3341268 on 2017/03/10 by Alicia.Cano PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm) #jira UE-37945 #android #rb: chris.babcock, jack.porter Change 3341303 on 2017/03/10 by Allan.Bentham Remove optimisation that prevents full specular occulsion on mobile. PR #3186 : Specular can't be blocked on high-end mobile. #jira UE-41393 Change 3342304 on 2017/03/10 by Alicia.Cano build fix #rb: chris.babcock Change 3343344 on 2017/03/13 by Alicia.Cano build fix #rb: chris.babcock Change 3343591 on 2017/03/13 by Brent.Pease iOS multiplayer fix part 1. Correct byte ordering. #jira UE-34875 Change 3343669 on 2017/03/13 by Chris.Babcock Update carefullyredist script version #jira UE-42832 Change 3344212 on 2017/03/13 by Will.Fissler Various compile fixes for Xcode 8.3. These fixes must also be added to //UE4/Release-4.15. #jira UE-41313 Change 3344396 on 2017/03/13 by Chris.Babcock Fix Java 1.5 obsolete warnings #jira UE-42851 #ue4 #android Change 3345132 on 2017/03/14 by Will.Fissler Added ifdef wrapper to check clang version for presentDrawable. Change 3345336 on 2017/03/14 by Will.Fissler Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method. Change 3345460 on 2017/03/14 by Will.Fissler ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none Change 3346046 on 2017/03/14 by Will.Fissler Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging. Change 3346367 on 2017/03/14 by Chris.Babcock Fix issue with GoogleVR ARMv7 libraries included for other architectures in link #ue4 #android Change 3347682 on 2017/03/15 by Allan.Bentham Enable HW sRGB correction with retainer widget's render target. Use slate's gamma correction for mobile (where no such support exists) Render retainer box RT content with gamma correction. #jira UE-40967 Change 3348712 on 2017/03/15 by Nick.Shin HTML5 - upload to S3 updated to AWS "signature version 4" authentication #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349254 on 2017/03/16 by Jack.Porter Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled. #jira UE-42971 Change 3349739 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 better error message feedback on upload failures #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3349765 on 2017/03/16 by Alicia.Cano Disable mouseover events in Mobile Previewer #jira UE-19903 #mobile #rb: Jack.Porter Change 3350049 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 folder in bucket is optional #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3350153 on 2017/03/16 by Nick.Shin HTML5 - upload to S3 updated S3 public link generator #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3351582 on 2017/03/17 by Will.Fissler Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9"; Currently we cannot build arm64 for iOS with this change. Change 3352085 on 2017/03/17 by Alicia.Cano iOS doesn't honor request to close the virtual keyboard leading to a crash #jira UE-36447 #ios #rb:Peter.Sauerbrei Change 3353313 on 2017/03/19 by Ben.Marsh Always allow large *.js files in Github. Change 3354444 on 2017/03/20 by Nick.Shin HTML5 - upload to S3 to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set #jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error Change 3355618 on 2017/03/20 by Nick.Shin HTML5 Save Game System - ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp - cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version) - created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code #jira UE-42081 Remove heinous HTML5 code from engine Change 3355621 on 2017/03/20 by Nick.Shin remove temp debugging code #jira UE-42081 Remove heinous HTML5 code from engine Change 3356937 on 2017/03/21 by Chris.Babcock Add "stat vulkanrhi" to new console dropdown #jira UE-43149 #ue4 #android Change 3357652 on 2017/03/21 by Nick.Shin HTML5 performance speed ups added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate) - this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel this option is based on the suggestions by jukka's post: - https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden... #jira UE-30214 - Implement a warning message for fps settings Change 3360415 on 2017/03/23 by Allan.Bentham Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes. Change 3360418 on 2017/03/23 by Allan.Bentham Disable filmic tonemapper if r.MobileHDR32bppMode is in use. #jira UE-40913 Change 3360557 on 2017/03/23 by Allan.Bentham Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview. #jira UE-42131 Change 3362258 on 2017/03/23 by Dmitriy.Dyomin Fixed: Canvas texture element gamma issues on iOS Metal Change 3362321 on 2017/03/24 by Dmitriy.Dyomin GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen) #3173 Change 3363550 on 2017/03/24 by Alicia.Cano build fix for devices < Android 5.0 #jira UE-43299 #android #rb: chris.babcock Change 3363687 on 2017/03/24 by Chris.Babcock Fix Android password hiding in input dialog #jira WEX-5159 #ue4 #android Change 3365280 on 2017/03/27 by Dmitriy.Dyomin Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension Change 3365291 on 2017/03/27 by Dmitriy.Dyomin Copied form WEX CL# 3308653 Fixed: Enabling shader cache causes crash on NVIDIA Shield #jira UE-41639 Change 3365293 on 2017/03/27 by Dmitriy.Dyomin GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik) #jira UE-43247 #3411 Change 3365340 on 2017/03/27 by Dmitriy.Dyomin Fixed: Moving sublevel in world composition browser does not appear in Undo History #jira UE-35535 Change 3365564 on 2017/03/27 by Allan.Bentham SkyLightComponent now serializes IrradianceMap SH values. clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures. Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt. #jira UE-42436 Change 3366282 on 2017/03/27 by Nick.Shin remove dead links these files to not exist anywhere in the make-3.81 subfolders #UDN-354501 #jira none Change 3366306 on 2017/03/27 by Nick.Shin HTML5 - disable multi-threading for wasm #jira UE-43219 - HTML5 disable multi-threading for wasm Change 3366307 on 2017/03/27 by Nick.Shin HTML5 packaging Shipping builds big cleanup / additions to *gz file support for amazon s3 * both, uploading to s3 * and allowing s3 to host the games there #jira UE-43002 HTML5 in Shipping fails downloading symbols files #jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected. Change 3367385 on 2017/03/28 by Allan.Bentham Display skylight serialization warning only when cooking for mobile platforms. #jira UE-42436 Change 3368583 on 2017/03/28 by Chris.Babcock Expose JAVA_HOME setting in Android SDK project settings on Mac #jira UE-43418 #ue4 #android Change 3368803 on 2017/03/28 by Chris.Babcock Fix features requested in manifest for "Daydream and Cardboard" mode #jira UE-43314 #ue4 #android Change 3369087 on 2017/03/28 by Jack.Porter Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP #jira UE-42438 Change 3369372 on 2017/03/29 by Allan.Bentham Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled. #jira UE-43366 Change 3369381 on 2017/03/29 by Jack.Porter Show warnings when mobile shader permutations required for rendering are disbaled Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering. #jira UE-43050 Change 3369430 on 2017/03/29 by Allan.Bentham fix CIS build Change 3369740 on 2017/03/29 by Allan.Bentham Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility) Android links with -gc-sections to remove unused code/data Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro. Add support for map file generation with android. Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig() bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini #jira UEMOB-168 Change 3369975 on 2017/03/29 by Nick.Shin HTML5 - AWS S3 shareable link for shipping builds corrected #jira UE-43379 Amazon S3 Shareable link does not generate correct filepath. Change 3369998 on 2017/03/29 by Nick.Shin HTML5 python build scripts PR: https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3 #jira none Change 3370214 on 2017/03/29 by Nick.Shin HTML5 - default bUseFixedTimeStep to false... #jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms Change 3370762 on 2017/03/29 by Chris.Babcock Fixes to new keyboard for Android - Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference. - Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets. #ue4 #android Change 3371344 on 2017/03/30 by Jack.Porter Fixed issue where Vulkan screenshot R/B channels were reversed on Android #jira UE-43479 Change 3372926 on 2017/03/30 by Peter.Sauerbrei start the process of sunsetting 32-bit and GLES2 on iOS #jira UE-42266 Change 3372970 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - windows toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3372989 on 2017/03/30 by Peter.Sauerbrei fix for Xcode 8.3 build with 32-bit Change 3373007 on 2017/03/30 by Peter.Sauerbrei fix for crash when online subsystem is disabled on IOS Change 3373108 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - emscripten toolchain WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373163 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - OSX toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373169 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support license file updated #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rnx Change 3373287 on 2017/03/30 by Nick.Shin HTML5 - 1.36.11 emscripten - remove old SDK #jira none #rnx Change 3373289 on 2017/03/30 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - Linux toolchain #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3373595 on 2017/03/30 by Chris.Babcock Reenable GooglePlay for ARM64 now that it doesn't crash #jira UE-36198 #ue4 #android Change 3373606 on 2017/03/30 by Chris.Babcock Submitting Allan's shelved EXT_shader_framebuffer_fetch fix #ue4 #android Change 3375456 on 2017/03/31 by Chris.Babcock Add missing keycodes for Android keyboard (@ and #) #jira WEX-5777 #ue4 #android Change 3376309 on 2017/04/03 by Allan.Bentham Fix overflow issues with mobile DoF. Change 3377041 on 2017/04/03 by Will.Fissler Adding Testbed content for PlatformShowcase. Change 3377582 on 2017/04/03 by Alicia.Cano adding back in GET_ACCOUNTS permission as it is required for Reset Achievements #jira: UE-43265 #android #rb: Chris.Babcock Change 3377643 on 2017/04/03 by Peter.Sauerbrei fix for memory leak in MallocBinned #jira UE-43008 Change 3378033 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty libs compiled with new toolchain with wasm and webgl2 support #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 #rn Change 3378034 on 2017/04/04 by Nick.Shin HTML5 - 1.37.9 emscripten: wasm & webgl2 support - ThirdParty build scripts #jira UEMOB-263 Switch [to] web assembly #jira UEMOB-201 Support ES3 / WebGL2 in HTML5 Change 3378035 on 2017/04/04 by Nick.Shin HTML5 - Update GameX template to make it work with trunk Emscripten PR https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978 #jira none #rn Change 3378044 on 2017/04/04 by Nick.Shin HTML5 harfbuzz - double checking recompiled with NO multithreading wasm currently does not support pthreads *** THIS IS STILL WIP *** checking in to match 3rd party libs compiled configuration #jira UE-28588 - Build HarfBuzz for HTML5 #rnx Change 3378264 on 2017/04/04 by Allan.Bentham Fix crash when using consolas font on android sdk 24 #jira UE-43464 Change 3379097 on 2017/04/04 by Nick.Shin CIS HTML5 build warning fix #jria none #rnx Change 3379333 on 2017/04/04 by Chris.Babcock Prevent inserting extra permissions into manifest multiple times #jira UE-43583 #ue4 #android Change 3380870 on 2017/04/05 by Chris.Babcock Fix merge issue Change 3380898 on 2017/04/05 by Chris.Babcock Fixed again Change 3381443 on 2017/04/05 by Chris.Babcock Fix for GearVR non-unity build #ue4 #android Change 3381941 on 2017/04/05 by Chris.Babcock Fix HTTPChunkInstaller texture format checks and missing #define warning #jira UE-43706 #ue4 #android Change 3382056 on 2017/04/05 by Chris.Babcock Updates to Android AARs needed for Facebook plugin Change 3382097 on 2017/04/05 by Chris.Babcock Disable java console cmd receiver only in shipping builds #jira UE-43710 #ue4 #android Change 3382497 on 2017/04/06 by Allan.Bentham Fix Fortnite Cooked Server crashes when joining game from lobby. #jira UE-43695 Change 3383227 on 2017/04/06 by Will.Fissler Reverted case sensitive change, from yesterday, and implemented a pragma instead. #jira UE-41313 [CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
if (InLevelList.Num() > 0)
{
GEditor->ResetTransaction(LOCTEXT("LoadingWorldTilesTransReset", "Loading Levels"));
}
GWarn->EndSlowTask();
}
void FLevelCollectionModel::UnloadLevels(const FLevelModelList& InLevelList)
{
if (InLevelList.Num() == 0)
{
return;
}
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
UWorld* ThisWorld = GetWorld();
check(ThisWorld != nullptr);
// If matinee is opened, and if it belongs to the level being removed, close it
if (GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_InterpEdit))
{
TArray<ULevel*> LevelsToRemove = GetLevelObjectList(InLevelList);
const FEdModeInterpEdit* InterpEditMode = (const FEdModeInterpEdit*)GLevelEditorModeTools().GetActiveMode(FBuiltinEditorModes::EM_InterpEdit);
if (InterpEditMode && InterpEditMode->MatineeActor && LevelsToRemove.Contains(InterpEditMode->MatineeActor->GetLevel()))
{
GLevelEditorModeTools().ActivateDefaultMode();
}
}
else if(GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_Landscape))
{
GLevelEditorModeTools().ActivateDefaultMode();
}
// Take a copy of the list rather than using a reference to the selected levels list, as this will be modified in the loop below
const FLevelModelList LevelListCopy = InLevelList;
for (auto It = LevelListCopy.CreateConstIterator(); It; ++It)
{
TSharedPtr<FLevelModel> LevelModel = (*It);
ULevel* Level = LevelModel->GetLevelObject();
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
if (Level != nullptr && !LevelModel->IsPersistent())
{
// Unselect all actors before removing the level
// This avoids crashing in areas that rely on getting a selected actors level. The level will be invalid after its removed.
for (auto ActorIt = Level->Actors.CreateIterator(); ActorIt; ++ActorIt)
{
GEditor->SelectActor((*ActorIt), /*bInSelected=*/ false, /*bSelectEvenIfHidden=*/ false);
}
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3072953) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3072953 on 2016/08/01 by Uriel.Doyon Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures. #jira UE-34045 Change 3072915 on 2016/08/01 by Nick.Whiting Fixing Google VR Preview being distorted by fixing merge error specifying number of verts per distortion mesh #jira UE-34044 Change 3072891 on 2016/08/01 by Nick.Whiting Integrating fix from DevVR to force GameGetsMouseControl to on when using VR PIE, since you always need focus for motion controllers #jira UE-33579 Change 3072885 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. Continued - adding missing file. #jira UE-32876 Change 3072869 on 2016/08/01 by Ori.Cohen Fix CIS #jira UE-3402 Change 3072862 on 2016/08/01 by Josh.Adams - Fixed case issue for Linux #jira UE-34020 Change 3072818 on 2016/08/01 by Nick.Darnell UMG/Slate - Moving the SlateTextureAtlasInterface to engine, and redoing the parameters so that we can properly calculate the UV start and size information with full knowledge inside the texture so that we can deal with problems like squaring that happens on PVRTC textures. Also moving the interface to engine so that dependent plugins/other consumers don't need to load their modules extremely early to deal with the RHIRenderers need to load early for the shaders, also wanted to avoid loading it when Paper2D is needed on servers. #jira UE-32876 Change 3072756 on 2016/08/01 by John.Billon Fixed crash when setting a composite texture on a render target cube. #Jira UE-33885 Change 3072755 on 2016/08/01 by John.Billon Exposed GPUMorphTargets (r.MorphTarget.Mode) as a project setting. #Jira UE-33574 Change 3072753 on 2016/08/01 by John.Billon Fixed a possible null dereference in distrubutions that was causing crashes when changing particle parameters. #Jira UE-32565 #Jira UE-29528 Change 3072665 on 2016/08/01 by Ben.Marsh Fix parse errors in BuildGraph example script. Change 3072664 on 2016/08/01 by Mike.Beach Mirrors CL 3072620 from Dev-Blueprints. Reverting a presumptive (guessed-at) fix from CL 2830752 (UE-22075). This was preventing REINST classes from retaining certain UObject references (specifically data/objects stored in Actor's "CurrentTransactionAnnotation" member). Those objects would be GC'd during the reinstancing process, and when we copied that data over later, towards the end of reinstancing, we'd be copying bad object pointers to the new actors. #jira UE-29631 Change 3072656 on 2016/08/01 by Mike.Beach Mirrors CL 3072614 from Dev-Blueprints. Fixing an issue where hot-reloading a Blueprint parent class was not reinstancing skeleton CDOs. This caused problems later where the skel class layout didn't reflect the CDO object. #jira UE-29613 Change 3072649 on 2016/08/01 by Mike.Beach Mirrors CL 3071292 from Dev-Blueprints. Preventing the Blueprint reinstancer's Function/PropertyMap from being GC'd during compile. This was causing issues where new functions/properties were being allocated in the same pointer location, and UpdateBytecodeReferences() was replacing those references as well (specifically in unrelated class's Children->Next chain, linking in functions/properties that did not belong to that class). This was causing a multitude of problems (mainly bad property offset read/writes and endless field iterator loops). #jira UE-29631 Change 3072568 on 2016/08/01 by Phillip.Kavan Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) Mirrored from //Orion/Dev-General (CLs# 3065749/3065868). #jira UE-32780 Change 3072565 on 2016/08/01 by Rolando.Caloca UE4.13 - More info to track down crash with missing Primitive uniform buffer #jira UE-33418 Change 3072526 on 2016/08/01 by Matt.Kuhlenschmidt Fix hovering broken in the details panel #jira UE-20903 Change 3072509 on 2016/08/01 by Matt.Kuhlenschmidt Removed nested list views in a details panel customization which caused the scrollbar in the details panel to become unusable #jira UE-20903 Change 3072479 on 2016/08/01 by Ori.Cohen Fix potential crash when calling SetSkeletalMesh on a skeletal mesh component that's using per poly collision #JIRA UE-34023 Change 3072438 on 2016/08/01 by Chris.Wood Fixed ICU dll loading logic so that monolithic tools like CRC don't try to load them. [UE-33943] - Crash Report Client window not opening in a packaged build #jira UE-33943 #test Editor, run Packaged QAGame, crash Packaged QAGame, runs CrashReportClient, run SlateViewer, run EpicGamesLauncher Change 3072360 on 2016/08/01 by Chris.Babcock Enable Google Play Games for ARM64 on Android #jira UE-34031 #ue4 #android Change 3072337 on 2016/08/01 by Mitchell.Wilson Saving multiple files from VR template to resolve empty engine version warnings. #jira UE-33937 Change 3072302 on 2016/08/01 by Lina.Halper Fix issue where weight doesn't update correctly while updating list #jira: UE-33023 Change 3072250 on 2016/08/01 by Lina.Halper Add error message when rename failed #jira: UE-33661 Change 3072103 on 2016/08/01 by Lina.Halper - Undid previous propagating change of morphtarget - Refresh function - Made sure whatever happening, the buffer size remains sane and render thread will always get the same size #code review: Rolando.Caloca #jira: UE-33923 Change 3072062 on 2016/08/01 by Jurre.deBaare Static Mesh Editor and Persona viewport are very dark #fix Added same default config value for the directional light rotation as in FPreviewScene (otherwise would result in nulled rotator) #jira UE-33945 Change 3072061 on 2016/08/01 by Jurre.deBaare Incorrect importing of morph target weights when setting the percentage bases option on import #fix use original number of singular values to index into the weights array (otherwise we would be reading incorrect data if NumUsedSingularValues != the original number #jira UE-34003 Change 3072052 on 2016/08/01 by Chris.Babcock Vulkan extension fixes for Android #jira UE-32943 #ue4 #android Change 3072039 on 2016/08/01 by Mitchell.Wilson Adding blueprint child of Paper2D character to the 2DSideScrollerExampleMap. #jira UE-33843 Change 3072003 on 2016/08/01 by Rob.Cannaday Change category of OnlineSubsystem, OnlineFramework from "TODO" to "Online Platform" to match other online subsystems. #jira UE-34008 Change 3071942 on 2016/08/01 by Matthew.Griffin Adding feature pack for TP_VirtualRealityBP Change 3071937 on 2016/08/01 by Max.Chen Sequence Recorder: Fix a bug where transforms wouldn't be captured if an anim recorder exists but the skeletal mesh that the anim recorder is supposed to capture doesn't exist. This fixes the first person template character not getting recorded. #jira UE-32918 Change 3071932 on 2016/08/01 by Dmitry.Rekman Linux: fix launch on (UE-33934) #tests Tested launching on a native host. #jira UE-33934 (Edigrating CL 3071928 //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3071926 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed exponential slowdown when restoring selection states #jira UE-33918 Change 3071917 on 2016/08/01 by Mitchell.Wilson Disabled shadow casting on RTS_Env_Ice_Fort_Trim pieces that are placed along the path in TowerDefenseMap and rebuilt lighting. #jira UE-15196 Change 3071914 on 2016/08/01 by Allan.Bentham Fix for incorrect feature level when using networked PIE. #jira UE-25807 Change 3071894 on 2016/08/01 by Andrew.Rodham Sequence Recorder: CIS fix #jira UE-31277 Change 3071884 on 2016/08/01 by phillip.patterson Updated UMG_Invalidation.uasset to Include Combo Box Test #jira UE-29618 Change 3071869 on 2016/08/01 by Mitchell.Wilson Changed LPF Freq Max on example 1.5 to bettery demonstrate Loww Pass Filter feature. #jira UE-33714 Change 3071868 on 2016/08/01 by phillip.patterson Added UMG_Invalidation.uasset for a test case #jira UE-29618 Change 3071855 on 2016/08/01 by Jurre.deBaare Engine fails to compile in Alembic with DebugBuildsActuallyUseDebugCRT enabled #fix Recompiled zlib to be correct debug version #jira UE-27576 Change 3071853 on 2016/08/01 by Jurre.deBaare Fix issue with debug asserts not compiling correctly #fix Debug build will use a different macro path in DetourAssert/RecastAssert in which there is a , instead of a ; which the compiler complains about #jira UE-33989 Change 3071851 on 2016/08/01 by Matt.Kuhlenschmidt Added guards against force deleting objects garbage collecting objects while they are being deleted. This will still ensure in an attempt to isolate the actual issue. #jira UE-33013 Change 3071849 on 2016/08/01 by Tom.Looman Resaved content files with engine version for VR Template #jira ue-33325 Change 3071822 on 2016/08/01 by Mitchell.Wilson Adding crosshair to WeapLauncher when not sighted in. #jira UE-30617 Change 3071798 on 2016/08/01 by Andrew.Rodham Sequencer: Fixed various issues to do with recording attached components There were several edge cases where attached components would be recorded with incorrect animation, transforms, or not recorded at all. #jira UE-30574 #jira UE-31277 Change 3071789 on 2016/08/01 by Tom.Looman Fixed warning of missing gamemode in VR Template. #jira ue-33325 Change 3071787 on 2016/08/01 by Mitchell.Wilson Cleared material interface on Neutral.uasset to resolve a warning. #jira UE-33957 Change 3071784 on 2016/08/01 by Robert.Manuszewski Making sure UMediaPlayer objects are not added to any GC clusters because they can load additional assets after they had PostLoad called on them and that results in Disregard For GC assumptions being violated. #jira UE-33692 #jira UE-33814 Change 3071746 on 2016/08/01 by Tom.Looman Added config.ini for Feature Pack creation to VR Template #jira ue-33325 Change 3071694 on 2016/08/01 by Robert.Manuszewski Fixing crash after opening edit config data for remote build then packaging #jira UE-33719 Change 3071660 on 2016/08/01 by Dmitriy.Dyomin Fixed: Nexus 5, Android 4.4.4 has inverted R/B color channels with r.TonemapperFilm enabled (replaced usage of LinearToSrgbBranching with LinearToSrgbBranchless for mobile) Also removed "OutputDevice" branches that are not used on mobile, otherwise generated LUT pixel shader has more than 2k lines and device refuses to compile it #jira UE-30104 Change 3071657 on 2016/08/01 by Matthew.Griffin Excluded TP_VirtualRealityBP Template from Mac Binary builds. Change 3071651 on 2016/08/01 by Tom.Looman Removed config.ini ref from content.txt #jira UE-33325 Change 3071645 on 2016/08/01 by Jurre.deBaare Merge Actor Tool missing option to deselect Export Specific LOD #fix Added the ability to export a specific LOD or all LODs for the selected objects #jira UE-33100 Non wrapped UVs in static mesh cause incorrect UVs on (HLOD) merged static mesh #fix force to generate unique UVs for baking out the material to ensure we get the correct texture data #jira UE-29976 Change 3071608 on 2016/08/01 by Thomas.Sarkanen Bringing hitch tracking fix over from Orion. Engine: Properly resetting the hitch buckets at the start of each FPS chart, so hitch time isn't accumulated across multiple runs #jira UE-33911 - Time spent in hitch tracking buckets is not reset between fps chart captures (so it grows each capture in a session) Change 3071606 on 2016/08/01 by Matthew.Griffin Added TP_VirtualRealityBP to list of templates to make feature packs from, build DDC for and include in binary build. #jira UE-33959 Change 3071584 on 2016/08/01 by Matthew.Griffin Added support for per file Intellisense PCH settings, to improve its startup speed - disabled by default due to crashes. Split GetDirectIncludeDependencies function so that part of it could be used without having a build target. #jira UE-23720 Change 3071479 on 2016/07/31 by Dmitriy.Dyomin Fixed FAssetPtr remapping issues for duplicated packages (level Save As, level Duplicate). This fixes issue with broken foliage base cache. Hardened code in foliage base cache and removed asserts, so maps with broken cache can still load Merged from Dev-Mobile CL# 3057039 #jira UE-32774 Change 3071478 on 2016/07/31 by Uriel.Doyon Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives. #jira UE-32585 Change 3071282 on 2016/07/30 by Max.Chen Cine Camera Actor: CIS fix #jira UE-33805 Change 3071272 on 2016/07/30 by Max.Chen Cine Camera Actor: Fix debug focus plane not getting updated when animated. Refactor UpdateDebugFocusPlane so that it's called from the actor tick instead of just in GetCameraView. #jira UE-33805 Change 3071229 on 2016/07/30 by Ben.Marsh Fix static analysis warning. Change 3071077 on 2016/07/29 by Max.Chen Sequencer: Set relative location, rotation, scale explicitly to identity instead of calling ResetRelativeTransform because we don't want overlaps to fire until after the update pass. #jira UE-33432 Change 3071076 on 2016/07/29 by Max.Chen Sequencer: Set event track eval order to fire first. This fixes some ambiguity and also a bug where transform tracks don't evaluate pre/post if the eval position is changed in the middle of evaluation. #jira UE-33078 Change 3071070 on 2016/07/29 by Max.Chen Sequence Recorder: Record actors as possessables Added GetWorld() check when resolving bindings in case the world is being torn down. Copy from Dev-Sequencer #jira UE-33969 Change 3071069 on 2016/07/29 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 Change 3071058 on 2016/07/29 by Max.Chen Sequencer: Tweak track colors Audio track brighter Transform, bool, event tracks less saturated Recording subsection more saturated Fade track gradient Copy from Dev-Sequencer #jira UE-33968 Change 3071057 on 2016/07/29 by Max.Chen Sequencer: Remove curve editor visibility as a toggleable config. It's now just a toggleable state that defaults to false. This fixes unexpected behavior of staying in the curve editor when restarting the editor or switching to a different level sequence asset. Copy from Dev-Sequencer #jira UE-33967 Change 3071004 on 2016/07/29 by Lauren.Ridge Fix for crash on color picker summon due to null SWindow #rb chris.gagnon #jira UE-33966 Change 3070956 on 2016/07/29 by Chris.Babcock Disable Oculus stress tests on Android(for now) to remove shader dependency unhandled on Mac editor #jira UE-33607 #ue4 #android Change 3070807 on 2016/07/29 by Nick.Darnell Slate - Disabling thickness calculation in slate lines, the underlying code doesn't properly handle the edge cases that causes a breakdown and the lines become flipped/twisted, or have zero width. #jira UE-30481 Change 3070779 on 2016/07/29 by Rob.Cannaday Re-add bCompileSteamOSS as deprecated with a notice on how to use OnlineSubsystemSteam Remove reference to bCompileSteamOSS from GameModule.Build.cs.template, replacing it with a comment of how to include OnlineSubsystemSteam #jira UE-33922 Change 3070766 on 2016/07/29 by Matt.Kuhlenschmidt Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #jira UE-33914 Change 3070764 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. (resubmitted as edit) #jira UE-20581 Change 3070757 on 2016/07/29 by Nick.Darnell Slate - Anything that requests a CreateUpdatableTexture from the SlateRHIRenderer and later releaseses it, the renderer now keeps those releases around for an extra frame on the game thread to avoid deleting a pointer that may have already been queued up on the CPU side of the renderer to be used in an element batch. Which is what happens if you remove a widget in it's own tick, that happens to also contain a web browser widget. #jira UE-33450 Change 3070741 on 2016/07/29 by Phillip.Kavan Back out previous submit (forgot to convert to edit). #jira UE-20581 Change 3070737 on 2016/07/29 by Phillip.Kavan [UE-20581] Optimize BP auto-recompile on PIE startup for BPs with multiple dependencies. Mirrored from CL# 3065278. #jira UE-20581 Change 3070695 on 2016/07/29 by Ryan.Vance #jira UE-32145 We were using the wrong texture format for the rift ogl bridge. Removed derived ogl bridge destructor to fix assert. Based on CL 3069701 from Oculus Change 3070632 on 2016/07/29 by Mitchell.Wilson Rebuilt lighting for SubwaySequencer #jira UE-33564 Change 3070620 on 2016/07/29 by Chris.Babcock Fast ASTC texture compression, using ISPC. #jira UE-32308 Change 3070586 on 2016/07/29 by phillip.patterson Updating Sequencer_Focus for test case #jira UE-29618 Change 3070539 on 2016/07/29 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. (This is copied from 3061370) #jira UE-33463 Change 3070538 on 2016/07/29 by Mitchell.Wilson Resaving TowerDefenseMap_Effects, TowerDefenseMap_Lights, and TowerDefenseMap_M to resolve MikkTSpace warnings. #jira UE-29730 Change 3070467 on 2016/07/29 by Lauren.Ridge Making the Color Picker accessible in VR Editing mode, hiding the eyedropper in VR mode. #rb mike.fricker #jira UE-33920 #jira UE-33769 Change 3070460 on 2016/07/29 by Lauren.Ridge Changing VR Screenshot mode to use direct capture of the mirrored view on the monitor #rb mike.fricker #jira UE-32413 Change 3070455 on 2016/07/29 by Lauren.Ridge Fixes for auto-entry to VR mode. Adding HMD validity checks, Steam VR only switches to not worn after being in the worn state, adding default setting to ini file. #rb mike.fricker #jira UE-33635 Change 3070404 on 2016/07/29 by John.Pollard Fix: Console command "Open" crashes with dedicated server settings #jira UE-32511 Change 3070380 on 2016/07/29 by Matt.Kuhlenschmidt Fix incorrect tooltip for the lerp instruction in the material editor #jira UE-33896 Change 3070376 on 2016/07/29 by Ryan.Vance #jira UEVR-32 Support base and neo multi-view vertex shaders on ps4. Compile both base and neo versions of the multi-view enabled vertex shaders. Pack them together in the resulting shader code. Unpack them and load the correct version when creating the vertex shader instance. Change 3070345 on 2016/07/29 by James.Cobbett #jira UE-29618 Submitting test assets for Alembic Importer Change 3070315 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition Tested fix on xbox, PC and PS4, using QAGame #jira UE-28592 Change 3070314 on 2016/07/29 by Ben.Woodhouse (cherry picked from dev-rendering) Fix div 0 in motion blur. This caused artifacts in some fairly common cases #jira UE-32331 Change 3070272 on 2016/07/29 by Jon.Nabozny Fix CIS by removing unused (and deprecated) call to GetMovementInputVector() in ShooterCharacter. #jira UE-33944 Change 3070235 on 2016/07/29 by Mitchell.Wilson Hid Camera_Movement effects when the user is interacting with the sand in BP_RakeStuff. #jira UE-32742 Change 3070221 on 2016/07/29 by Jurre.deBaare HLOD: The forced viewing level slider does not stay in sync after building a cluster #fix The minimum drawing distance was being set to the original instead of the current value which would make it behaviour as normal (not being forced) #jira UE-32187 Change 3070218 on 2016/07/29 by Jurre.deBaare HLOD: Shadow logic in ALODActor is messed up #fix Moved shadow determination logic #jira UE-31753 Change 3070212 on 2016/07/29 by Jurre.deBaare HLOD Outliner scrolls back to the top when generating proxy meshes #fix Not refreshing the HLOD Outliner (not needed), and force scroll into view the first selected cluster #jira UE-30384 Change 3070176 on 2016/07/29 by Jurre.deBaare Some post processing features in Preview Scene Settings do not update immediately #fix Vector values as properties were not getting picked up due to their outer not being the struct but an FVector :D #jira UE-33895 Change 3070175 on 2016/07/29 by Jurre.deBaare Static Mesh Editor does not display Vertex Colors in Lit mode #fix Caused by not disabling advanced features which used to happen for preview scenes by default :/ #jira UE-32977 Change 3070163 on 2016/07/29 by Chris.Wood Changed log warnings to info when WinSAT assessment unavailable [UE-30198] - WinSAT assessment unavailable when running Hardware Survey #jira UE-30198 trivial change Change 3070154 on 2016/07/29 by Matthew.Griffin Removed exceptions for IOS .a files now we are building code projects Additional inclusions for Android/IOS that cannot be determined via Build Products/Runtime Dependencies #jira UE-33868 Change 3070124 on 2016/07/29 by Alex.Delesky #jira UE-32911 - Fixing an issue where thumbnail preview scenes would spawn an additional instance of its preview actor even if one was already in the scene. Also fixes a crash on shutdown due to cached thumbnail scenes not being released when thumbnail renderers begin destruction. Change 3070060 on 2016/07/29 by Chris.Wood Fixed command line argument saved to crash reports and used to restart crash processes [UE-30665] - CrashReporterClient send and restart does not reopen the project #jira UE-30665 trivial re-add of a line lost in a confusing merge. Change 3070035 on 2016/07/29 by Allan.Bentham Add cvars 'r.Android.DisableVulkanSupport' and 'r.Android.DisableOpenGLES31Support' Allows device profiles to disable vulkan and/or ES3.1. #jira UE-33379 Change 3070027 on 2016/07/29 by Tom.Looman Added fresh VR Template BP (origin: //depot/usr/Tom.Looman/VRTemplate/) #jira UE-33325 Change 3070009 on 2016/07/29 by James.Golding Disable 'convert proc mesh to static mesh' when template is selected. Also don't create static mesh if procmesh generate no geom. #jira UE-32395 Change 3070007 on 2016/07/29 by James.Golding Fix highlight when searching Anim Curves #jira UE-33073 Change 3070002 on 2016/07/29 by James.Golding Fix complex collision drawing in StaticMesh Editor #jira UE-33062 Change 3069998 on 2016/07/29 by Jon.Nabozny Fix AShooterCharacter heavy breathing even when running but not moving. #jira UE-32398 Change 3069980 on 2016/07/29 by James.Golding Add UV support to ProcMeshComp collision Fix bUseComplexAsSimpleCollision not being applied because ProcMeshBodySetup was transient, so setting was lost Move ProceduralMeshComponent out of 'experimental' #jira UE-29850, UE-33003 Change 3069970 on 2016/07/29 by James.Golding Add #if WITH_PHYSX around ISimEventCallbackFactory at Ori#s suggestion (forgot to do this in initial checkin CL 3053969) #jira UE-32819 Change 3069969 on 2016/07/29 by Andrew.Porter Adding movie test content to NotForLicensee. #jira UE-29618 Change 3069962 on 2016/07/29 by Chris.Wood Writing CrashReportClient config section from Engine config in crashing app to crash report folder. Crash Report Client reads new file and sets project-specific settings. [UE-31820] - CrashReportClient config is getting merged between streams and projects containing project-specific settings #jira UE-31820 Affects Core and CrashReportClient. Removes existing values from CRC's own engine config file because they are project-specific and the file is agnostic. Added project-specific values to engine config with defaults set in BaseEngine.ini. Added overrides to Orion config. Change 3069908 on 2016/07/29 by Jurre.deBaare Saving assets with UGS build, fixes build warnings #jira UE-123 Change 3069889 on 2016/07/29 by Jurre.deBaare Build fix for -game builds (missing WITH_EDITOR ifdef) #jira UE-123 Change 3069877 on 2016/07/29 by Allan.Bentham Add Android ES3.1, vulkan and iOS Metal material quality settings to project settings. Fixed issue that prevented settings editor saving out array property changes. #jira UE-33379 Change 3069872 on 2016/07/29 by Jurre.deBaare Added option to disable post processing option in preview scene Inverted normals on the sky sphere (asset change) Bad performance when changing (slider) values for the advanced preview scene #fix Small optimizations and now only save the data on closing of the preview scene tab #jira UE-33496 Persona floor offset not being correct #fix Re-added floor offsetting mechanism (even though I find it very ugly), which now sets the advanced preview scene's floor offset #jira UE-32278 Add a shortcut for hiding/showing the sky (and maybe the floor) in asset viewers #fix I will now hide the environment and O the floor #jira UE-33498 Directional light rotation not saved with advanced preview scene profiles #fix Now does :) #jira UE-33619 Change 3069838 on 2016/07/29 by Luke.Thatcher Fix crash in ShooterGame when running the server. Paper2D plugin now has a dependency on the SlateRHIRenderer module, which needs to be loaded in PostConfigInit phase, otherwise shader types in the slate renderer module are not initialized in time. #jira UE-33671 Change 3069440 on 2016/07/28 by patrickr.donovan #jira UE-29618 Test content for AA and materials with tessellation enabled and absolute world position material function. Change 3069148 on 2016/07/28 by Lina.Halper Morphtarget deletion crash #jira: UE-33851 #code review: Roalndo.caloca Change 3069144 on 2016/07/28 by Michael.Trepka Check if UnrealBuildTool.csproj exists before trying to compile it in Mac GenerateProjectFiles.sh. Fixes a problem in binary distribution where the script would show an error (but still succeed) due to missing UnrealBuildTool.csproj #jira UE-31863 Change 3069021 on 2016/07/28 by Dmitry.Rekman Linux: a number of small fixes from pull requests. - Includes PR #1905 (UE-24848) by madsystem (arch installation: changed from clang to clang35) - Includes PR #2120 (UE-27742) by ABeekhub (mono-mvc for opensuse) - Includes PR #2131 (UE-27894) by vityafx (QMake build problem (no c++11 standard)) - Includes PR #2305 (UE-29781) by salamanderrake (MakefileGenerator.cs small changes) - Includes PR #2361 (UE-30452) by salamanderrake (QMakefileProjectGenerator.cs fix for missing Includes paths and removal of duplicates) #tests Generated cmake, qmake, make projects and tested them (using ueprojectdirs and not standalone projects). No tests done for arch/suse changes. #jira UE-24848 #jira UE-27742 #jira UE-27894 #jira UE-29781 #jira UE-30452 (Edigrating CL 3069016 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3068867 on 2016/07/28 by Mike.Fricker Mesh Paint: Fixed various bugs - Fixed brush preview not rendered for lasers/mouse when not actively painting (UE-33554) - Fixed 'full press' over actors preventing UI from being clickable (UE-33550) - Fixed brush cursor displayed when hovering over UI (including selection bar/close button) (UE-33551) - Fixed VR transform gizmo getting in the way of everything while painting (it is now hidden while in mesh paint mode) - Fixed not being able to interact with UIs after messing around with mesh paint (UE-33621) #jira UE-33554 #jira UE-33550 #jira UE-33551 #jira UE-33621 Change 3068758 on 2016/07/28 by Mitchell.Wilson Minor update to BP_RakeStuff to solve issue with sand turning black when raking the same spot. #jira UE-33684 Change 3068733 on 2016/07/28 by Ori.Cohen Temp fix to make sure that deferred bodies that add angular impulse do not crash (From Benn.G) #JIRA UE-32630 Change 3068713 on 2016/07/28 by Lina.Halper #Checking in Benn G's fix Fixed crash when adding a section to a zero length montage. Fixed nullptr deref in montage handling code and disabled menu option to add a section when zero length (makes no sense to do that). #jira UE-33633 #code review: Benn.Gallagher Change 3068580 on 2016/07/28 by John.Pollard Disable hot reloading when using single process MP PIE Fixes UE-30516 - Crash in FObjectReplicator::StartReplicating when removing replicated uproperty and hot reloading with two players #jira UE-30516 Change 3068550 on 2016/07/28 by Jurre.deBaare Merge Actors: "Bake Vertex Data" is incorrectly listed underm materials #fix Added another flag and renamed the old one + added tooltips :) This also required some changes to the merge path just to make sure we end up with the correct data #jira UE-31886 Change 3068549 on 2016/07/28 by Jurre.deBaare Merged static meshes stop reaction to the Trace Complex on Move flag. #fix merge physics now defaults to true in the actor merging settings (people assumed the system didn't work and hadn't seen the option) #jira UE-30403 Change 3068548 on 2016/07/28 by Jurre.deBaare Merge Actor tool can no longer merge just materials for an actor #fix removed requirement of more than one static mesh component (left code in to renable later on once we add a bake materials button for actors in the world) #jira UE-32797 Change 3068547 on 2016/07/28 by Jurre.deBaare Make sure the advanced preview scene tab is shown by default #fix Made the tab spawn by default in all possible situations (as part of the existing UI layout) #jira UE-33499 Change 3068546 on 2016/07/28 by Jurre.deBaare Textures created from generating proxy meshes have incorrect compression format on tooltip #fix Required a PostEditChange call for the UTextures to correctly propogate the compression type #jira UE-30365 Change 3068543 on 2016/07/28 by Danny.Bouimad #jira UE-29618 Made useability changes to the Phsyical Animation Profile Map Change 3068407 on 2016/07/28 by Mitchell.Wilson Set delete index variable to 0 on reset in BP_RakeStuff to fix an issue with sand turning black when raking repeatedly in one place #jira UE-33684 Change 3068403 on 2016/07/28 by Ben.Marsh Add warnings and ignore entries in .uprojectdirs files which reference directories outside the root directory. #jira UE-33459 Change 3068358 on 2016/07/28 by Martin.Wilson Set default compression to NoClear as None is not a valid compression #jira UE-31958 Change 3068346 on 2016/07/28 by Benjamin.Hyder Updating TM-ContactShadows to include static meshes #jira UE-29618 Change 3068336 on 2016/07/28 by Martin.Wilson Added a new mode to Montage_Play so that we can choose what value we return (either length of the montage or the play time duration). #jira UE-32101 Change 3068321 on 2016/07/28 by Martin.Wilson Export bone selection widgets so that other modules can use them #Jira UE-30361 Change 3068316 on 2016/07/28 by Martin.Wilson Expose Root Motion Mode #jira UE-14431 Change 3068307 on 2016/07/28 by Benjamin.Hyder Rebuilding lighting in QA-Materials #jira UE-29618 Change 3068299 on 2016/07/28 by Benjamin.Hyder Renaming TM_Noise to TM-Noise #jira UE-29618 Change 3068285 on 2016/07/28 by Martin.Wilson Remove option to clear compression on animation sequences #jira UE-31957 Change 3068282 on 2016/07/28 by Benjamin.Hyder Re-Saving QA-Materials to remove log spam #jira UE-29618 Change 3068271 on 2016/07/28 by Martin.Wilson Add check to highlight recursion issue caused by game code #jira UE-31417 Change 3068259 on 2016/07/28 by Jamie.Dale Fixed UObject churn caused by re-use of a single thumbnail scene for BP and class types #jira UE-31709 Change 3068257 on 2016/07/28 by Jamie.Dale Removed some code that was no longer needed and could cause a crash #jira UE-33342 Change 3068204 on 2016/07/28 by Nick.Darnell Slate - Reverting the SMenuAnchor to a previous version, there was no reason afterall to need to use the last painted window as the host for menus, ended up solving it a lower level by properly supporting the deferral groups on the SVirtualWindow under different conditions. Slate - The hit test grid now properly records the hit test path for the invalidation box, so that when input is recieved, a widget path containing only one instance of the invalidation box is created, premitting things like mouse capture to properly work. UMG - Further refinements and improvements to the Widget Interaction Component. This completes the documentation and a fixes several bugs with it that were found after the integration to main occured. #jira UE-33845 Change 3068197 on 2016/07/28 by Martin.Wilson Fix abstract notify state classes showing up in create menu #jira UE-33864 Fix copy paste notifies introducing cross animation references #jira UE-32801 Change 3068183 on 2016/07/28 by Matthew.Griffin Remove hard coded staging for Crash Reporter and use its receipt instead #jira UE-33800 Change 3068097 on 2016/07/28 by Dmitriy.Dyomin Fixed: Decals don't render on Zenfone 2 (Added proper detection of FP16 render target support) #jira UE-22679 Change 3068074 on 2016/07/28 by Matthew.Griffin Added DDC nodes to list of content/shader modifiers for notifications Change 3068053 on 2016/07/28 by Jack.Porter After resampling or changing landscape component size, delete any new components that are entirely in regions that correspond to previously deleted components #jira UE-5335 Change 3068043 on 2016/07/28 by Jack.Porter Fix crash in mobile preview when selecting objects during shader compilation #jira UE-33862 Change 3068031 on 2016/07/28 by Gareth.Martin Fix hang when changing material which is used on landscape and "LogMaterial: 0.03 seconds spent updating 1 materials, 1 interfaces, 0 instances, 1 with static permutations." log spam #jira UE-33708 Change 3068030 on 2016/07/28 by Gareth.Martin Fix "Max Pitch Angle" and "Random Yaw" foliage options being ignored in procedural foliage. #jira UE-20476 Change 3068029 on 2016/07/28 by Gareth.Martin Fixed landscape "continuous" sculpting not working in multiple viewports - the editor would tick with another viewport which didn't have the mouse down, ending the stroke. Now only the "active" viewport can end the stroke. #jira UE-32347 Change 3068013 on 2016/07/28 by Thomas.Sarkanen Added a tick dependency for slave components Ensures that slave components always get ticked after master components. Prevents potential main thread stall updating morph targets in slave components. #jira UE-23045 - Slave components could benefit from a tick dependency on master components Change 3068011 on 2016/07/28 by Thomas.Sarkanen Added space bar as a shortcut to play/pause animation playback in Persona #jira UE-26788 - Framework - Animation - Add Hotkeys to the Viewport for Play/Pause Change 3068009 on 2016/07/28 by Thomas.Sarkanen Multi-arg console commands now accept string commands with or without quotes Pre-parsed out each token prior to calling ImportText() rather than relying on ImportText's internal logic. This allows us to properly parse out quoted and non-quoted values as well as being robust to escape sequences etc. Removed old legacy code designed to fix trailing string params not being parsed correctly. Updated some NULLs to nullptr. #jira UE-23661 - Multi-arg console commands that take string params don't accept string params without quotation marks Change 3067854 on 2016/07/28 by Dmitriy.Dyomin Fixed: World composition tiles that have child actor inside will become mdified if any other tile is unloaded #jira UE-33440 Change 3067831 on 2016/07/28 by Dmitriy.Dyomin Fixed: Landscape GrassType does not have the option to exclude Decals #jira UE-26669 Change 3067826 on 2016/07/28 by Dmitriy.Dyomin Fixed: Deleting foliage actor from foliage menu does not remove actors from PIE until editor is restarted Also fixed Replace foliage type case #jira UE-32010 Change 3067824 on 2016/07/28 by Dmitriy.Dyomin Fixed: The Empty Level is named "NewWorld" in the World Outliner as opposed to "Untitled" #jira UE-24767 Change 3067794 on 2016/07/27 by Jack.Porter Expose Lighting Channels to Foliage and Landscape Grass #jira UE-32794 Change 3067782 on 2016/07/27 by Jack.Porter Fixed crash on device when playing sounds when packaged using Android_Multi #jira UE-31981 Change 3067760 on 2016/07/27 by Jack.Porter Fixed issue where landscape flatten target grid preview is displayed on wrong landscape when switching landscape target #jira UE-11756 Change 3067748 on 2016/07/27 by Dmitry.Rekman Linux: fix packaged projects not being runnable (UE-33608). - Added a shell script to run the binary. #jira UE-33608 (Edigrating 3067587 from //UE4/Dev-Platform/... to //UE4/Release-4.13/...) Change 3067512 on 2016/07/27 by Jeff.Fisher UEVR-13 PSVR: TCR Requirements (first two items) https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html https://udn.unrealengine.com/questions/302238/how-to-handle-morpheus-disconnection-event.html#answer-303803 https://udn.unrealengine.com/questions/300748/psvr-trc-compliance.html Unshelved from pending changelist '3065760 (UE4/Dev-VR) -Implements HMD connect/disconnect/reconnect handling along the lines of sony sample tutorial_vr/basic_setup. -Known issue: some tracker location popping during reconnect. I will try to fix that next. #jira UEVR-13 #review-3066558 @chad.taylor Change 3067511 on 2016/07/27 by Jeff.Fisher Duplicating 3058093 (UE4/Dev-VR) Linking SceHmdSetupDialog_stub_weak so one can easily use the sceHmdSetup library to pop up the system hmd setup dialog, if one wishes (someone did, we probably will soon). #jira UEVR-13 Change 3067488 on 2016/07/27 by Ori.Cohen Make the UI more clear for which physical animation is currently being editted. #JIRA UE-33332 Change 3067481 on 2016/07/27 by Chris.Babcock AAR support and updating libraries: - Google Play Games native C++ SDK 2.1 - Google Play Services 9.2.0 - android-support-v4.jar 23.0.0 #jira UEPLAT-1251 #jira UE-19190 #ue4 #android Change 3067478 on 2016/07/27 by Ori.Cohen Fix it so renaming of physical animation profiles (and constraint profiles) do not lose previous settings #JIRA UE-33276, UE-33331 Change 3067474 on 2016/07/27 by Ori.Cohen Make it so property index comes in on reset of array value and duplication (From Matt.K) #JIRA UE-33276 Change 3067457 on 2016/07/27 by Ori.Cohen Fix currently highlighted text in physics profiles being copied over when chaing current profile #JIRA UE-33282 Change 3067451 on 2016/07/27 by Ori.Cohen Fix the case where objects welded together (even though they're simulating) do not re-weld when being detached in a long chain #JIRA UE-32531 Change 3067443 on 2016/07/27 by Ori.Cohen Make skeletalMeshComponent a property of physical animation component so things can be setup in the construction script. Mark the component as experimental and only expose valid functions into construction script #JIRA UE-33656 Change 3067439 on 2016/07/27 by Ori.Cohen Added more logging info for potential fixed framerate negative delta time crash #JIRA UE-32219 Change 3067348 on 2016/07/27 by mason.seay Updating map to have hit events test. #jira UE-29618 Change 3067342 on 2016/07/27 by Mitchell.Wilson Updating collision on TwinStickUFO to resolve issue with the ship getting stuck when rotating due to collision being offset slightly #jira UE-15698 Change 3067332 on 2016/07/27 by Dmitry.Rekman Fix for libstdc++ problems (UE-33584). #tests Built UE4Editor/UE4Game on Ubuntu 16.04 and 15.10. #JIRA UE-33584 (Redoing CL 3065551 from Dev-Platform). Change 3067262 on 2016/07/27 by Lina.Halper DUPEFIX: Fix compile issue of non-editor build due to - Reduce functions is not editoronly #tests: PIE/compile editor build/noneditor #jira: UE-33477 Change 3067228 on 2016/07/27 by Lina.Halper This fixes crash where mesh has changed hierarchy but hasn't been remapped yet. #jira: UE-29880 Change 3067168 on 2016/07/27 by Lina.Halper DUPEFIX: Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #tests: cooked test map, run test map, PIE, saving content, loading standalone game #jira: UE-33454 Change 3067162 on 2016/07/27 by Lina.Halper pose asset source animation/animation asset preview pose now have proper skeleton filter #jira: UE-32607 Change 3067160 on 2016/07/27 by Lina.Halper Fix issue with preview curve not working when no asset #jira: UE-33402 Change 3067138 on 2016/07/27 by Lina.Halper DUPEFIX: Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3067129 on 2016/07/27 by Lina.Halper DUPEFIX- Fix additive issue with remove linear key and built the new animation DDC #tests: Jump_Recovery_Additive, PIE #jira: UE-33477 Change 3067128 on 2016/07/27 by Michael.Trepka Copy of CL 3062046 PRAGMA_DISABLE_OPTIMIZATION_ACTUAL and PRAGMA_ENABLE_OPTIMIZATION_ACTUAL defines for iOS #jira UE-33683 Change 3067104 on 2016/07/27 by Lina.Halper DUPEFIX: Support different samplerate for reimport with set range #jira: UE-16027 Change 3067093 on 2016/07/27 by Lina.Halper DUPE FIX: Fix baking is applied twice in the new created animation #jira: UE-31120 Change 3067088 on 2016/07/27 by Lina.Halper Fix issues with rename/delete of the curves #jira: UE-33663, UE-33730, UE-33661, UE-33662 Change 3066795 on 2016/07/27 by Mark.Satterthwaite Fix a race-condition in FMetalBlendState's constructor that could lead to crashes or use of the incorrect blend-state. This is a partial fix for UE-33778 which appears to have several causes. #jira UE-33778 Change 3066788 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3066338: Handle releasing an SRV/UAV & the source object within a single Metal command-buffer. #jira UE-33779 Change 3066786 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3064743: Proper fix for FORT-27685 - on Metal it is invalid to fail to set uniform parameters on a shader - if you don't set the parameter the buffer binding may be nil or too small for the data accessed in the shader and the GPU will then crash. #jira UE-33827 #jira FORT-27685 Change 3066768 on 2016/07/27 by samuel.proctor Updated child blueprint used for profiler testing #jira UE-29618 Change 3066733 on 2016/07/27 by samuel.proctor Refreshed broken node in profiler test asset #jira UE-29618 Change 3066670 on 2016/07/27 by Sam.Deiter #Jira UEDOC-3139 Adding the blending tool tip images. Change 3066669 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063329: CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions. #jira UE-33600 #jira UE-33028 #jira UE-27879 #jira UE-25802 Change 3066668 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063327: Added FSpeedTreeWindNullUniformBuffer as a global resource to bind to shaders that require a SpeedTreeData uniform but don't yet have data available as a nil binding is invalid on Metal. #jira UE-32068 Change 3066625 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3062160: Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves. #jira UE-33355 Change 3066624 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3063328: Mac Metal DXT/BC textures can have mip-levels smaller than the block size (they switch to uncompressed data). #jira UE-33820 Change 3066589 on 2016/07/27 by Mark.Satterthwaite Duplicate CL #3060590 to fix UE-33819: Fix FORT-27340: Mac Metal cannot natively support PF_G8 + sRGB as not all Mac GPUs have single-channel sRGB formats (according to Apple) so we must manually pack & unpack to RGBA8_sRGB - the code to do this was missing from UpdateTexture2D. #jira UE-33819 Change 3066588 on 2016/07/27 by Matt.Kuhlenschmidt Fixed Reset to default not updating when selecting new assets #jira UE-33817 Change 3066509 on 2016/07/27 by mason.seay Phys material needed for TM-SliceProcMesh #jira UE-29618 Change 3066500 on 2016/07/27 by mason.seay Rebuilt lighting #jira UE-29618 Change 3066499 on 2016/07/27 by Jurre.deBaare Map build should not generate empty HLOD folder in Editor #fix Asset outer (hlod folder/asset) was created regardless of whether or not it was needed, now checks first :) #jira UE-29564 Change 3066498 on 2016/07/27 by Jurre.deBaare HLOD outliner drag and drop operation can cause log spam #fix Found the log spam was coming from the scene outliner itself, caused by Formatting call receiving incorrect argument names which is now fixed #jira UE-32106 Change 3066485 on 2016/07/27 by Alan.Noon Resubmitting fixes for Puzzle Templates. Rebuilt in 4.13 via UGS #jira UE-30564 Change 3066470 on 2016/07/27 by mason.seay Test map and updating blueprint for slicing proc mesh #jira UE-29618 Change 3066367 on 2016/07/27 by Matthew.Griffin Switch UE4 Binary Release to be the job that runs nightly instead of the Full Build we use in main Change 3066337 on 2016/07/27 by Matthew.Griffin Remaking CL 3066327 by Matthew.Griffin@Matthew.Griffin_G5772_MainStream on 2016-07-27 15:39 Adding ArchiveDir parameter to Fortnite build command as it ignores StagingDir and has been filling up network drive Change 3066158 on 2016/07/27 by Ben.Marsh Reverting assets causing warning, via integration from //UE4/Main. Change 3065651 on 2016/07/26 by Ben.Marsh Remaking CL 3065267 by Alan.Noon@Alan.Noon_Z3739_Main_9938 on 2016/07/26 16:35:14 Updated Puzzle Template (BP and C++) to mimic each other in terms of content, labelling and setup. Change 3065650 on 2016/07/26 by Ben.Marsh Remaking CL 3065358 by James.Brinkerhoff@James.Brinkerhoff_Z2862_Ocean-Staging on 2016/07/26 17:31:04 Hotfix for Ocean from CL 3065311: Fixes the load/apply order when applying customizations to characters in the editor Change 3065649 on 2016/07/26 by Ben.Marsh Remaking CL 3065268 by Max.Chen@Max.Chen_T4664_UE4_Main on 2016/07/26 16:35:18 Sequencer: Revert 3057233 because it breaks sequence recording. Copy from Dev-Sequencer #jira UE-33569 Change 3065308 on 2016/07/26 by Ben.Marsh Fix failure to parse EC settings for 4.13 branch. Change 3065235 on 2016/07/26 by Ben.Marsh Set the IsReleaseBranch flag to true for builds in the Release-4.13 branch. [CL 3079611 by Matthew Griffin in Main branch]
2016-08-05 17:47:48 -04:00
// In case we have created temporary streaming level object for this sub-level - remove it before unloading sub-level
{
FName LevelPackageName = LevelModel->GetLongPackageName();
auto Predicate = [&](ULevelStreaming* StreamingLevel)
{
return (StreamingLevel->GetWorldAssetPackageFName() == LevelPackageName && StreamingLevel->HasAnyFlags(RF_Transient));
};
int32 Index = ThisWorld->StreamingLevels.IndexOfByPredicate(Predicate);
if (Index != INDEX_NONE)
{
ThisWorld->StreamingLevels[Index]->MarkPendingKill();
ThisWorld->StreamingLevels.RemoveAt(Index);
}
}
// Unload sub-level
{
FUnmodifiableObject ImmuneWorld(CurrentWorld.Get());
EditorLevelUtils::RemoveLevelFromWorld(Level);
}
}
}
GEditor->ResetTransaction( LOCTEXT("RemoveLevelTransReset", "Removing Levels from World") );
// Collect garbage to clear out the destroyed level
CollectGarbage( GARBAGE_COLLECTION_KEEPFLAGS );
PopulateLevelsList();
}
void FLevelCollectionModel::TranslateLevels(const FLevelModelList& InLevels, FVector2D InDelta, bool bSnapDelta)
{
}
FVector2D FLevelCollectionModel::SnapTranslationDelta(const FLevelModelList& InLevelList, FVector2D InTranslationDelta, bool bBoundsSnapping, float InSnappingValue)
{
return InTranslationDelta;
}
void FLevelCollectionModel::UpdateTranslationDelta(const FLevelModelList& InLevelList, FVector2D InTranslationDelta, bool bBoundsSnapping, float InSnappingValue)
{
FLevelModelList EditableLevels;
// Only editable levels could be moved
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable())
{
EditableLevels.Add(*It);
}
}
// Snap translation delta
if (InTranslationDelta != FVector2D::ZeroVector)
{
InTranslationDelta = SnapTranslationDelta(EditableLevels, InTranslationDelta, bBoundsSnapping, InSnappingValue);
}
for (auto It = EditableLevels.CreateIterator(); It; ++It)
{
(*It)->SetLevelTranslationDelta(InTranslationDelta);
}
}
void FLevelCollectionModel::AssignParent(const FLevelModelList& InLevels, TSharedPtr<FLevelModel> InParent)
{
// Attach levels to the new parent
for (auto It = InLevels.CreateConstIterator(); It; ++It)
{
(*It)->AttachTo(InParent);
}
OnLevelsHierarchyChanged();
}
void FLevelCollectionModel::AddExistingLevelsFromAssetData(const TArray<FAssetData>& WorldList)
{
}
TSharedPtr<FLevelDragDropOp> FLevelCollectionModel::CreateDragDropOp() const
{
return TSharedPtr<FLevelDragDropOp>();
}
bool FLevelCollectionModel::PassesAllFilters(const FLevelModel& Item) const
{
if (Item.IsPersistent() || Filters->PassesAllFilters(&Item))
{
return true;
}
return false;
}
void FLevelCollectionModel::BuildHierarchyMenu(FMenuBuilder& InMenuBuilder) const
{
}
void FLevelCollectionModel::CustomizeFileMainMenu(FMenuBuilder& InMenuBuilder) const
{
const FLevelCollectionCommands& Commands = FLevelCollectionCommands::Get();
// Cache SCC state
CacheCanExecuteSourceControlVars();
InMenuBuilder.AddSubMenu(
LOCTEXT("SourceControl", "Source Control"),
LOCTEXT("SourceControl_ToolTip", "Source Control Options"),
FNewMenuDelegate::CreateSP(this, &FLevelCollectionModel::FillSourceControlSubMenu));
if (AreAnyLevelsSelected())
{
InMenuBuilder.AddMenuEntry( Commands.World_SaveSelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_SaveSelectedLevelAs );
InMenuBuilder.AddMenuEntry( Commands.World_MigrateSelectedLevels );
}
}
bool FLevelCollectionModel::GetPlayerView(FVector& Location, FRotator& Rotation) const
{
return false;
}
bool FLevelCollectionModel::GetObserverView(FVector& Location, FRotator& Rotation) const
{
return false;
}
bool FLevelCollectionModel::CompareLevelsZOrder(TSharedPtr<FLevelModel> InA, TSharedPtr<FLevelModel> InB) const
{
return false;
}
void FLevelCollectionModel::RegisterDetailsCustomization(FPropertyEditorModule& InPropertyModule,
TSharedPtr<IDetailsView> InDetailsView)
{
}
void FLevelCollectionModel::UnregisterDetailsCustomization(FPropertyEditorModule& InPropertyModule,
TSharedPtr<IDetailsView> InDetailsView)
{
}
void FLevelCollectionModel::RequestUpdateAllLevels()
{
bRequestedUpdateAllLevels = true;
}
void FLevelCollectionModel::RequestRedrawAllLevels()
{
bRequestedRedrawAllLevels = true;
}
void FLevelCollectionModel::UpdateAllLevels()
{
bRequestedUpdateAllLevels = false;
for (auto It = AllLevelsList.CreateConstIterator(); It; ++It)
{
(*It)->Update();
}
// Update world size
FBox WorldBounds = GetLevelsBoundingBox(AllLevelsList, false);
WorldSize.X = FMath::RoundToInt(WorldBounds.GetSize().X);
WorldSize.Y = FMath::RoundToInt(WorldBounds.GetSize().Y);
}
void FLevelCollectionModel::RedrawAllLevels()
{
bRequestedRedrawAllLevels = false;
for (auto It = AllLevelsList.CreateConstIterator(); It; ++It)
{
(*It)->UpdateVisuals();
}
}
void FLevelCollectionModel::UpdateLevelActorsCount()
{
for( auto It = AllLevelsList.CreateIterator(); It; ++It )
{
(*It)->UpdateLevelActorsCount();
}
bRequestedUpdateActorsCount = false;
}
bool FLevelCollectionModel::IsOneLevelSelected() const
{
return SelectedLevelsList.Num() == 1;
}
bool FLevelCollectionModel::AreAnyLevelsSelected() const
{
return SelectedLevelsList.Num() > 0;
}
bool FLevelCollectionModel::AreAllSelectedLevelsLoaded() const
{
for (int32 LevelIdx = 0; LevelIdx < SelectedLevelsList.Num(); LevelIdx++)
{
if (SelectedLevelsList[LevelIdx]->IsLoaded() == false)
{
return false;
}
}
return AreAnyLevelsSelected();
}
bool FLevelCollectionModel::AreAnySelectedLevelsLoaded() const
{
return !AreAllSelectedLevelsUnloaded();
}
bool FLevelCollectionModel::AreAllSelectedLevelsUnloaded() const
{
for (int32 LevelIdx = 0; LevelIdx < SelectedLevelsList.Num(); LevelIdx++)
{
if (SelectedLevelsList[LevelIdx]->IsLoaded() == true)
{
return false;
}
}
return true;
}
bool FLevelCollectionModel::AreAnySelectedLevelsUnloaded() const
{
return !AreAllSelectedLevelsLoaded();
}
bool FLevelCollectionModel::AreAllSelectedLevelsEditable() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable() == false)
{
return false;
}
}
return AreAnyLevelsSelected();
}
bool FLevelCollectionModel::AreAllSelectedLevelsEditableAndNotPersistent() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable() == false || (*It)->IsPersistent())
{
return false;
}
}
return AreAnyLevelsSelected();
}
bool FLevelCollectionModel::AreAllSelectedLevelsEditableAndVisible() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable() == false ||
(*It)->IsVisible() == false)
{
return false;
}
}
return AreAnyLevelsSelected();
}
bool FLevelCollectionModel::AreAnySelectedLevelsEditable() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable() == true)
{
return true;
}
}
return false;
}
bool FLevelCollectionModel::AreAnySelectedLevelsEditableAndVisible() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsEditable() == true &&
(*It)->IsVisible() == true)
{
return true;
}
}
return false;
}
bool FLevelCollectionModel::IsSelectedLevelEditable() const
{
if (SelectedLevelsList.Num() == 1)
{
return SelectedLevelsList[0]->IsEditable();
}
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3122543 on 2016/09/13 by Ben.Woodhouse Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled. #jira UE-35878 Change 3122544 on 2016/09/13 by Ben.Woodhouse Shadow stencil optimisation with cvar (enabled by default) Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN. This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX) Shadow projection GPU time profiling : Test map with 35 characters, stationary directional light - 4ms-2ms on XB1 - 2.5ms to 0.9ms on PC (r9-390X) - 3ms-2ms on PS4 Paragon PS4 (roughly 20% reduced - from ~0.39ms) Change 3122687 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES31 crash Change 3122691 on 2016/09/13 by Rolando.Caloca DR - vk - Fixes for SDK 1.0.26.0 Change 3122778 on 2016/09/13 by Rolando.Caloca DR - vk - Fix number of layers on barrier Change 3122921 on 2016/09/13 by Rolando.Caloca DR - vk - Fix ES3.1 Change 3122925 on 2016/09/13 by Ben.Woodhouse Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor) #jira UE-35904 Change 3123016 on 2016/09/13 by Chris.Bunner Fixed adaptive tessellation, broken by CL 3089208 refactor. #jira UE-35341 Change 3123079 on 2016/09/13 by Rolando.Caloca DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily) Change 3123503 on 2016/09/13 by David.Hill #jira UE-25623 converted a check() to checkf() to include better diagnostic information. Change 3123617 on 2016/09/13 by Guillaume.Abadie Fixes artifact when the camera direction is almost parallel to a wide plane with SSR. #jira UE-35128 Change 3123743 on 2016/09/13 by Brian.Karis Separate mesh reduction interfaces for static and skeletal. Zero bad tangents from input mesh. Change 3125378 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them. Change 3125527 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix UT build and mac Change 3125741 on 2016/09/14 by Rolando.Caloca DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1) Change 3125763 on 2016/09/14 by Rolando.Caloca DR - vk - Added new Renderpass cache - Fix buffer barrier warning Change 3125769 on 2016/09/14 by Rolando.Caloca DR - Renamed cvar to r.DumpSCWQueuedJobs Change 3125771 on 2016/09/14 by Rolando.Caloca DR - Added support for SV_ClipDistance on GL3 & 4 Change 3125792 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Odin and PS4 Change 3125880 on 2016/09/14 by Arne.Schober DR - [UE-34481] - Fix Fortnite Change 3125968 on 2016/09/14 by Brian.Karis Removed comment Change 3126315 on 2016/09/15 by Ben.Woodhouse GPU profiler robustness - Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly - Simplify gathering logic - Fix race condition where we could read back queries before they're submitted on the RHI thread. - Fix for movie player stat gathering - disable gathering outside of the main engine tick #jira UE-35975 Change 3126792 on 2016/09/15 by Rolando.Caloca DR - vk - Release render pass cache Change 3126804 on 2016/09/15 by Rolando.Caloca DR - vk - Fix UpdateTexture2D() #jira UE-34151 Change 3126884 on 2016/09/15 by Rolando.Caloca DR - vk - Compile fix Change 3126953 on 2016/09/15 by Rolando.Caloca DR - Enable GPU capture when running OpenGL under RenderDoc - Will also set the memory mode to non coherent so not to kill performance on RenderDoc Change 3126966 on 2016/09/15 by Rolando.Caloca DR - Allow cooking for Vulkan SM4 to help with packaging Change 3127082 on 2016/09/15 by Guillaume.Abadie Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length. #jira UE-35367, UE-33602, UE-33603, UE-33604 #review-3125887 @brian.karis Change 3127130 on 2016/09/15 by Mark.Satterthwaite Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3127475 on 2016/09/15 by Rolando.Caloca DR - vk - Debug dump Change 3128131 on 2016/09/16 by Ben.Woodhouse (Integrated from //UE4/Private-Partner-NREAL/...) Alpha output support for postprocess materials (optional via a parameter) Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection) Change 3128135 on 2016/09/16 by Ben.Woodhouse GPU profiler (PS4) - remove bubbles between commandlist submissions from query times Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on) Also fixes some potential precision issues with unit GPU timing Change 3128247 on 2016/09/16 by Rolando.Caloca DR - vk - Cache framebuffers Change 3128593 on 2016/09/16 by Rolando.Caloca DR - vk - Fix for crash loading map #jira UE-36072 Change 3128759 on 2016/09/16 by Mark.Satterthwaite Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload. Change 3130236 on 2016/09/19 by Chris.Bunner Exposed full SceneCaptureComponent classes instead of select methods. #jira UE-35996 Change 3130388 on 2016/09/19 by Rolando.Caloca DR - Avoid crash when adding dynamic primitives #jira UE-35327 Change 3130393 on 2016/09/19 by Marc.Olano Improve vector noise tooltips & documentation Change 3130547 on 2016/09/19 by Ben.Woodhouse Fix for ensure fail when initializing point light shadowmaps. This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters. I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix. #jira UE-35837 Change 3130578 on 2016/09/19 by Daniel.Wright Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL Change 3130682 on 2016/09/19 by Rolando.Caloca DR - Better fix for UE-35327 #jira UE-35327 Change 3130767 on 2016/09/19 by Uriel.Doyon Better handling of color array in VisualizeComplexity code to prevent assert. #jira UE-29332 Change 3130965 on 2016/09/19 by Arne.Schober DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking. Change 3130967 on 2016/09/19 by Chris.Bunner Hid redundant texture sampler properties from texture object parameter. Hid redundant texture property input on texture parameter nodes. Fixed copy-paste error in expression texture parameter docs. #jira UE-32724 Change 3131118 on 2016/09/19 by Mark.Satterthwaite Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts. #jira FORT-25869 #jira UE-34263 Change 3131153 on 2016/09/19 by Rolando.Caloca DR - Fix recompute normals when triangles have a LHS tangent basis Integrate from 3028634 - Also make meshes that don't have morphs be able to run through the recompute normals path #jira UE-35472 Change 3131228 on 2016/09/19 by Mark.Satterthwaite Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early. #jira UE-35240 Change 3131246 on 2016/09/19 by Rolando.Caloca DR - Shrink gpu skinning permutations Change 3131261 on 2016/09/19 by Mark.Satterthwaite Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader. ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer. Change 3131265 on 2016/09/19 by Mark.Satterthwaite Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS. Change 3131271 on 2016/09/19 by Mark.Satterthwaite Use private memory for the Metal stencil SRV workaround needed on El Capitan. Change 3131273 on 2016/09/19 by Mark.Satterthwaite Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly. Change 3131280 on 2016/09/19 by Mark.Satterthwaite For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode. Change 3131283 on 2016/09/19 by Mark.Satterthwaite Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache. Change 3131402 on 2016/09/19 by Rolando.Caloca DR - Disambiguate callstack #jira UE-34415 Change 3131469 on 2016/09/19 by Rolando.Caloca DR - vk - Check if we can allocate descriptors off a pool Change 3131482 on 2016/09/19 by Rolando.Caloca DR - vk - Remove unused var Change 3131506 on 2016/09/19 by Mark.Satterthwaite With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS. Change 3131536 on 2016/09/19 by Rolando.Caloca DR - vk - Compile fix Change 3131564 on 2016/09/19 by Rolando.Caloca DR - vk - Submit Hint - Disable framebuffer recycling as its causing a hang Change 3131625 on 2016/09/19 by Mark.Satterthwaite Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required. Change 3131630 on 2016/09/19 by Mark.Satterthwaite More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful. Change 3131955 on 2016/09/20 by Gil.Gribb Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering) Change 3131978 on 2016/09/20 by Gil.Gribb CIS fix Change 3132584 on 2016/09/20 by Ben.Woodhouse Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling #jira UE-35937 Change 3132696 on 2016/09/20 by Mark.Satterthwaite Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it. Change 3132772 on 2016/09/20 by Mark.Satterthwaite Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient. Change 3132870 on 2016/09/20 by Ben.Woodhouse Fix mac compile error Change 3133049 on 2016/09/20 by Brian.Karis Changed light source shapes in reflection captures to use alpha Change 3133057 on 2016/09/20 by Brian.Karis Alphaed out on spot light cone as well. Change 3133263 on 2016/09/20 by Rolando.Caloca DR - vk - Debug names for objects Change 3133292 on 2016/09/20 by Rolando.Caloca DR - vk - Fix SRGB upload/formats Change 3133395 on 2016/09/20 by Rolando.Caloca DR - vk - SM5 fixes Change 3134026 on 2016/09/21 by Gil.Gribb Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering) Change 3134663 on 2016/09/21 by Chris.Bunner Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes. #jira UE-34347 Change 3134730 on 2016/09/21 by Arne.Schober DR - [UE-34481] - Fix minor brokenness found by Gil Change 3134792 on 2016/09/21 by Chris.Bunner Fixed compile errors for non-editor builds. Change 3135214 on 2016/09/21 by Rolando.Caloca DR - vk - Fix visualize texture - Dump memory when OOM (to track leaks) Change 3135225 on 2016/09/21 by Rolando.Caloca DR - vk - Ensure on exit if mem leak - Update fences if running wait for idle Change 3135672 on 2016/09/22 by Gil.Gribb Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering) Change 3135793 on 2016/09/22 by Rolando.Caloca DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer Change 3135816 on 2016/09/22 by Rolando.Caloca DR - Add names for d3d on renderdoc Change 3135894 on 2016/09/22 by Chris.Bunner Fixed initialization order warning. Change 3136024 on 2016/09/22 by Rolando.Caloca DR - vk - Fix stencil faces Change 3136042 on 2016/09/22 by Marcus.Wassmer Fix compile error Change 3136046 on 2016/09/22 by Chris.Bunner Renamed material for PostTonemapHDRColor visualization to reflect actual usage. Change 3136308 on 2016/09/22 by Uriel.Doyon Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript. #jira UE-36094 Change 3136798 on 2016/09/22 by Chris.Bunner Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer. Change 3137092 on 2016/09/22 by Rolando.Caloca DR - vk - Rename pipeline to gfx pipeline Change 3137263 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135157: Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access. #jira FORT-30061 Change 3137265 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135169: Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled). Change 3137266 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3135237: Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer. Change 3137268 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3136033: To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra. Fix GPU selection code in MetalRHI to confirm everything is working. #jira FORT-30385 Change 3137269 on 2016/09/22 by Mark.Satterthwaite Duplicate CL #3137164: Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails. #jira FORT-30377 Change 3137606 on 2016/09/23 by Gil.Gribb Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering) Change 3137936 on 2016/09/23 by Rolando.Caloca DR - Split RHICmdList clear into color & ds in prep for changes Change 3138346 on 2016/09/23 by Rolando.Caloca DR - vk - Some renaming and splitting classes in prep for compute Change 3138628 on 2016/09/23 by Rolando.Caloca DR - vk - Fix mem leak on framebuffers Change 3138721 on 2016/09/23 by Daniel.Wright Better comment for r.DefaultFeature.AntiAliasing Change 3138722 on 2016/09/23 by Daniel.Wright Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface Change 3138723 on 2016/09/23 by Daniel.Wright Corrected GC doc Change 3138892 on 2016/09/23 by Daniel.Wright Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build Change 3138905 on 2016/09/23 by Daniel.Wright "Optimizations" -> "Optimization Viewmodes" Change 3138939 on 2016/09/23 by Daniel.Wright Disabled the stationary light overlap viewmode with forward shading Change 3139710 on 2016/09/26 by Rolando.Caloca DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture Change 3139820 on 2016/09/26 by Rolando.Caloca DR - Remove prefix from shader frequency strings Change 3139828 on 2016/09/26 by Marcus.Wassmer Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization. Change 3139840 on 2016/09/26 by Benjamin.Hyder Adding VectorNoise Examples to TM-Noise map Change 3139862 on 2016/09/26 by Rolando.Caloca DR - Better log to track down crash #jira UE-36271 Change 3140142 on 2016/09/26 by Rolando.Caloca DR - Fix clang warning Change 3140145 on 2016/09/26 by Rolando.Caloca DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters Change 3140360 on 2016/09/26 by Daniel.Wright Lighting Scenarios and lightmaps moved to separate package * Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world. * Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds. * If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it. * For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load. * Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times. Change 3140361 on 2016/09/26 by Daniel.Wright Lighting Scenarios UI Change 3140582 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140166 Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one. #jira FORT-30551 Change 3140584 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140131: Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU. #jira FORT-30622 Change 3140586 on 2016/09/26 by Mark.Satterthwaite Duplicate CL #3140450: Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly. #jira FORT-30649 Change 3140594 on 2016/09/26 by Zabir.Hoque Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error. Change 3140601 on 2016/09/26 by Marcus.Wassmer New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR Change 3140602 on 2016/09/26 by Zabir.Hoque CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it. #Tests: Fix was tested by licensee (GearBox). Change 3140622 on 2016/09/26 by Rolando.Caloca DR - vk - More prep for sm5 Change 3140765 on 2016/09/26 by Rolando.Caloca DR - Fix ensure from bad clear depth surface Change 3141251 on 2016/09/27 by Rolando.Caloca DR - vk - Rename & cleanup Change 3141394 on 2016/09/27 by Rolando.Caloca DR - vk - Compute pipeline state Change 3141463 on 2016/09/27 by Mark.Satterthwaite Fix the include order to avoid compile errors on Mac. Change 3141529 on 2016/09/27 by Gil.Gribb Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering) Change 3141830 on 2016/09/27 by zachary.wilson Adding testing content for lighting scenarios to collaborate with Ben Change 3141941 on 2016/09/27 by Olaf.Piesche Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer. Change 3142035 on 2016/09/27 by Olaf.Piesche Fix compiler error from silly leftover bit of code. Change 3142065 on 2016/09/27 by Benjamin.Hyder Updating Lighting Scenario map Change 3142262 on 2016/09/27 by Mark.Satterthwaite Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform: On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications. On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2 #jira UE-35749 Change 3142292 on 2016/09/27 by Rolando.Caloca DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error #jira UE-31438 Change 3142397 on 2016/09/27 by Mark.Satterthwaite Update hlslcc for Mac including RCO's changes in CL #3142292. #jira UE-31438 Change 3142438 on 2016/09/27 by Daniel.Wright UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking Change 3142452 on 2016/09/27 by Rolando.Caloca DR - Proper support for int defines Change 3142519 on 2016/09/27 by Arne.Schober DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available. Change 3142537 on 2016/09/27 by Daniel.Wright Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset Change 3142691 on 2016/09/27 by Daniel.Wright Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content Change 3142711 on 2016/09/27 by Daniel.Wright GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser Change 3142712 on 2016/09/27 by Daniel.Wright Separate category for ParticleCutout properties Change 3142762 on 2016/09/27 by Uriel.Doyon Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds. The density are computed by the engine but can be overridden by the user in the material tabs. Texture streaming intermediate component data is now per material instead of per lod-section. New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode. This is currently used to show which UV channel and which texture index is being shown in the texture streaming accuracy viewmodes. This replaces r.Streaming.AnalysisIndex Renamed texture streaming viewmodes: MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales Improved UV density computation and viewmode. LightmapUVDensity is now computed separately from UVChannel Density. Fixed texture streaming for instanced static mesh component and derived types. Change 3143464 on 2016/09/28 by Daniel.Wright Removed 'experimental' from forward shading setting Change 3143508 on 2016/09/28 by Chris.Bunner Added component type handling to FoldedMath and Length material expressions. #jira UE-36304 Change 3143557 on 2016/09/28 by Rolando.Caloca DR - Back out changelist 3142292 Change 3143563 on 2016/09/28 by Rolando.Caloca DR - vk - Force hlslcc re-link Change 3143648 on 2016/09/28 by Daniel.Wright Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already. Change 3143661 on 2016/09/28 by Chris.Bunner Warning fix. Change 3143723 on 2016/09/28 by Daniel.Wright DumpUnbuiltLightIteractions after lighting build for debugging Change 3143822 on 2016/09/28 by Arne.Schober DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows. Change 3143860 on 2016/09/28 by Benjamin.Hyder Updating TM-Noise map to include 3d noise examples Change 3143939 on 2016/09/28 by Rolando.Caloca DR - vk - Better debugging of submissions - Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs Change 3144006 on 2016/09/28 by Brian.Karis Fixed PixelError not being set correctly with LOD groups. Removed unneeded Simplygon references. Mesh reduction module can now be chosen by name with r.MeshReductionModule Change 3144026 on 2016/09/28 by Benjamin.Hyder Updating QA-Effects map to correct numbering issue Change 3144098 on 2016/09/28 by Arne.Schober DR - ViewMatrices Refactoring - Fix UT Change 3144158 on 2016/09/28 by Rolando.Caloca DR - Undo splitting RHI command context Change 3144952 on 2016/09/29 by Rolando.Caloca DR - vk - Missing swapchain flag Change 3145064 on 2016/09/29 by Olaf.Piesche #jira UE-36091 Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly. Change 3145354 on 2016/09/29 by Benjamin.Hyder Updating Tm-ContactShadows Change 3145485 on 2016/09/29 by Daniel.Wright Made SeamlessTravelLoadCallback handle legacy lightmaps Change 3145527 on 2016/09/29 by Daniel.Wright Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel Change 3145530 on 2016/09/29 by Simon.Tovey UE-36188 - Editor crash when updating hierarchical instance static mesh component Dirtied render state rather than unsafe update of bounds. Change 3145608 on 2016/09/29 by Gil.Gribb Attempt to fix a random compiler error under win32 Change 3145749 on 2016/09/29 by Uriel.Doyon Fix for static analysis warning Change 3146091 on 2016/09/29 by Zabir.Hoque RHI Interface changes to support PSO based APIs Change 3146092 on 2016/09/29 by Zabir.Hoque D3D12 RHI support for PSO based APIs. Change 3146590 on 2016/09/30 by Gil.Gribb Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering) Change 3146731 on 2016/09/30 by Rolando.Caloca DR - Fix merge conflicts Change 3146778 on 2016/09/30 by Rolando.Caloca DR - More integration compile fixes Change 3146790 on 2016/09/30 by Rolando.Caloca DR - Integration fix Change 3146849 on 2016/09/30 by Rolando.Caloca DR - Final integration fix Change 3146899 on 2016/09/30 by Daniel.Wright Static analysis fix for dereferencing World Change 3147020 on 2016/09/30 by Rolando.Caloca DR - vk - Fix depth issue on AMD cards - Added VULKAN_KEEP_CREATE_INFO to help debugging creation - Added num color attachments to pipeline key Change 3147034 on 2016/09/30 by Rolando.Caloca DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines #jira UE-36277 #jira UE-36500 Change 3147080 on 2016/09/30 by Rolando.Caloca DR - vk - Disable debug info by default Change 3147082 on 2016/09/30 by Chris.Bunner Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list. #jira UE-36491 Change 3147388 on 2016/09/30 by Chris.Bunner Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers. #jira UE-35288 Change 3147394 on 2016/09/30 by Chris.Bunner Additional logging for rare error. #jira UE-35812 Change 3147459 on 2016/09/30 by Rolando.Caloca DR - vk - Some more srgb formats Change 3147537 on 2016/09/30 by Rolando.Caloca DR - vk - Standarize srgb flag like D3D11 - Minor FVulkanShader cleanup Change 3147620 on 2016/09/30 by Olaf.Piesche #jira UE=34486 particle component tick function task can be invalid during pause; add check Change 3148028 on 2016/10/01 by Daniel.Wright Renamed RenderingSettings.cpp to match header Change 3148059 on 2016/10/01 by Daniel.Wright Disabled reparenting in the profiler which is disorienting Change 3148067 on 2016/10/01 by Daniel.Wright Support for ReflectionEnvironment and light type show flags with ForwardShading Change 3148069 on 2016/10/01 by Daniel.Wright Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars Change 3148072 on 2016/10/01 by Daniel.Wright Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness Change 3148073 on 2016/10/01 by Daniel.Wright r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream Change 3148074 on 2016/10/01 by Daniel.Wright Enabled planar reflection receiving on the material used for the preview of a APlanarReflection Change 3148084 on 2016/10/01 by Daniel.Wright Fixed reflections on Surface TranslucencyVolume in deferred Change 3148085 on 2016/10/01 by Daniel.Wright Fixed planar reflection composite being done too many times in stereo deferred Change 3148086 on 2016/10/01 by Daniel.Wright Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10. Change 3148107 on 2016/10/01 by Daniel.Wright CIS fix Change 3148113 on 2016/10/01 by Daniel.Wright Translucency lighting modes for forward shading * Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway Change 3148306 on 2016/10/02 by Rolando.Caloca DR - vk - Fix for some NV drivers on Win10 Change 3148307 on 2016/10/02 by Rolando.Caloca DR - vk - Compute pipeline Change 3148358 on 2016/10/02 by Rolando.Caloca DR - vk - Consolidate and renumber enum for binding types Change 3148396 on 2016/10/03 by Rolando.Caloca DR - vk - Warning fix Change 3148697 on 2016/10/03 by Benjamin.Hyder Submitting M_Chromebal after enabling planar reflectionsl Change 3148799 on 2016/10/03 by Rolando.Caloca DR - vk - static analysis fix Change 3148934 on 2016/10/03 by Chris.Bunner Added pre-skinned local position material graph node, vertex shader only. Change 3148994 on 2016/10/03 by Chris.Bunner Added missing header file. Change 3149085 on 2016/10/03 by Daniel.Wright Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead Change 3149095 on 2016/10/03 by Rolando.Caloca DR - vk - Disable new render passes Change 3149125 on 2016/10/03 by Rolando.Caloca DR - vk - Fix for multiple memory types Change 3149181 on 2016/10/03 by Rolando.Caloca DR - Better message when missing pipelines Change 3149215 on 2016/10/03 by Rolando.Caloca DR - RHIClearColor -> RHIClearColorTexture #tests Orion Editor run match on Agora_P Change 3149288 on 2016/10/03 by Chris.Bunner Added PreTonemapHDRColor for buffer visualization and target output. #jira UE-36333 Change 3149402 on 2016/10/03 by Daniel.Wright Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res) Change 3149403 on 2016/10/03 by Daniel.Wright Forward lighting supports lighting channels Change 3149574 on 2016/10/03 by Marcus.Wassmer PR #2817: Ansel/Photography system (Contributed by adamnv) Modified to become a plugin Change 3149615 on 2016/10/03 by Rolando.Caloca DR - vk - Fix PF_G16R16 which fixes reflections Change 3149639 on 2016/10/03 by Olaf.Piesche Adding more ensures to catch NaNs occasionally appearing in particle locations early Change 3149745 on 2016/10/03 by Uriel.Doyon Moved UVDensity computation in the staticmesh DDC. Change 3149749 on 2016/10/03 by Daniel.Wright Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility Change 3149755 on 2016/10/03 by Benjamin.Hyder Checking in built lighting for QA-postprocessing Change 3149758 on 2016/10/03 by Benjamin.Hyder re-submitting built lighting for QA-PostProcessing Change 3149940 on 2016/10/04 by Gil.Gribb Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering) Change 3150098 on 2016/10/04 by Marcus.Wassmer Fix some clang and win32 errors Change 3150323 on 2016/10/04 by Rolando.Caloca DR - vk - Static analysis fix Change 3150456 on 2016/10/04 by Daniel.Wright Revert temp logs Change 3150731 on 2016/10/04 by Daniel.Wright Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid Change 3150795 on 2016/10/04 by Marcus.Wassmer Fix RHIClearUAV and Drawindirect bugs on PS4. Also fix PS4 compile error from bad merge. Change 3151065 on 2016/10/04 by Ben.Marsh Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering) Change 3151134 on 2016/10/04 by Brian.Karis Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array. Change 3151201 on 2016/10/04 by Marcus.Wassmer Nvidia approved icon for ansel plugin. Change 3151240 on 2016/10/04 by Marcus.Wassmer Fix string concat build error. Change 3151258 on 2016/10/04 by Ben.Marsh Fix compile error. Change 3151290 on 2016/10/04 by Marcus.Wassmer Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix. Change 3152104 on 2016/10/05 by Chris.Bunner Workaround for legacy BreakMA material node invalid component masks. #jira UE-36832 Change 3152130 on 2016/10/05 by Ben.Woodhouse Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling #jira UE-35890 Change 3152240 on 2016/10/05 by Rolando.Caloca DR - Fix for missing gizmo colors #jira UE-36515 Change 3152338 on 2016/10/05 by Daniel.Wright Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker Change 3152833 on 2016/10/05 by Brian.Karis Improved precision of quadrics. Fixes bad triangles on large meshes Change 3153376 on 2016/10/06 by Rolando.Caloca DR - Fix for SM4 missing pipelines fallout Change 3153650 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering) Change 3153656 on 2016/10/06 by Uriel.Doyon Fixed main integration compilation issues. Some of the Mesh UVDensity UI is temporary disabled. Change 3153725 on 2016/10/06 by Uriel.Doyon Fixed crash when source data is missing for lightmaps #jira UE-36157 Change 3153998 on 2016/10/06 by Gil.Gribb Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering) Change 3154056 on 2016/10/06 by Marcus.Wassmer Fix compile errors from merge. Also restore some light scencario code Change 3154176 on 2016/10/06 by Marcus.Wassmer Fix deprecation warning Change 3154252 on 2016/10/06 by Marcus.Wassmer Fix more deprecation warnings Change 3154632 on 2016/10/07 by Chris.Bunner Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function. #jira UE-37002 [CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
bool FLevelCollectionModel::IsNewLightingScenarioState(bool bExistingState) const
{
if (SelectedLevelsList.Num() == 1)
{
return SelectedLevelsList[0]->IsLightingScenario() != bExistingState;
}
return false;
}
void FLevelCollectionModel::SetIsLightingScenario(bool bNewLightingScenario)
{
if (SelectedLevelsList.Num() == 1)
{
SelectedLevelsList[0]->SetIsLightingScenario(bNewLightingScenario);
}
}
bool FLevelCollectionModel::AreAnySelectedLevelsDirty() const
{
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsLoaded() == true && (*It)->IsDirty() == true)
{
return true;
}
}
return false;
}
bool FLevelCollectionModel::AreActorsSelected() const
{
return GEditor->GetSelectedActorCount() > 0;
}
bool FLevelCollectionModel::GetDisplayPathsState() const
{
return bDisplayPaths;
}
void FLevelCollectionModel::SetDisplayPathsState(bool InDisplayPaths)
{
bDisplayPaths = InDisplayPaths;
for (auto It = AllLevelsList.CreateIterator(); It; ++It)
{
(*It)->UpdateDisplayName();
}
}
bool FLevelCollectionModel::GetDisplayActorsCountState() const
{
return bDisplayActorsCount;
}
void FLevelCollectionModel::SetDisplayActorsCountState(bool InDisplayActorsCount)
{
bDisplayActorsCount = InDisplayActorsCount;
for (auto It = AllLevelsList.CreateIterator(); It; ++It)
{
(*It)->UpdateDisplayName();
}
}
void FLevelCollectionModel::BroadcastSelectionChanged()
{
SelectionChanged.Broadcast();
}
void FLevelCollectionModel::BroadcastCollectionChanged()
{
CollectionChanged.Broadcast();
}
void FLevelCollectionModel::BroadcastHierarchyChanged()
{
HierarchyChanged.Broadcast();
}
float FLevelCollectionModel::EditableAxisLength()
{
return HALF_WORLD_MAX;
};
FBox FLevelCollectionModel::EditableWorldArea()
{
float AxisLength = EditableAxisLength();
return FBox(
FVector(-AxisLength, -AxisLength, -AxisLength),
FVector(+AxisLength, +AxisLength, +AxisLength)
);
}
void FLevelCollectionModel::SCCCheckOut(const FLevelModelList& InList)
{
TArray<FString> FilenamesToCheckOut = GetFilenamesList(InList);
// Update the source control status of all potentially relevant packages
ISourceControlModule::Get().GetProvider().Execute(
ISourceControlOperation::Create<FUpdateStatus>(), FilenamesToCheckOut
);
// Now check them out
FEditorFileUtils::CheckoutPackages(FilenamesToCheckOut);
}
void FLevelCollectionModel::SCCCheckIn(const FLevelModelList& InList)
{
TArray<UPackage*> PackagesToCheckIn = GetPackagesList(InList);
TArray<FString> FilenamesToCheckIn = GetFilenamesList(InList);
// Prompt the user to ask if they would like to first save any dirty packages they are trying to check-in
const auto UserResponse = FEditorFileUtils::PromptForCheckoutAndSave(PackagesToCheckIn, true, true);
// If the user elected to save dirty packages, but one or more of the packages failed to save properly OR if the user
// canceled out of the prompt, don't follow through on the check-in process
const bool bShouldProceed = UserResponse == FEditorFileUtils::EPromptReturnCode::PR_Success ||
UserResponse == FEditorFileUtils::EPromptReturnCode::PR_Declined;
if (bShouldProceed)
{
const bool bUseSourceControlStateCache = false;
FSourceControlWindows::PromptForCheckin(bUseSourceControlStateCache, FilenamesToCheckIn);
}
else
{
// If a failure occurred, alert the user that the check-in was aborted. This warning shouldn't be necessary if the user cancelled
// from the dialog, because they obviously intended to cancel the whole operation.
if (UserResponse == FEditorFileUtils::EPromptReturnCode::PR_Failure)
{
FMessageDialog::Open(EAppMsgType::Ok,
NSLOCTEXT("UnrealEd", "SCC_Checkin_Aborted", "Check-in aborted as a result of save failure.")
);
}
}
}
void FLevelCollectionModel::SCCOpenForAdd(const FLevelModelList& InList)
{
ISourceControlProvider& SourceControlProvider = ISourceControlModule::Get().GetProvider();
TArray<FString> FilenamesList = GetFilenamesList(InList);
TArray<FString> FilenamesToAdd;
TArray<UPackage*> PackagesToSave;
for (auto It = FilenamesList.CreateConstIterator(); It; ++It)
{
const FSourceControlStatePtr SourceControlState = SourceControlProvider.GetState(*It, EStateCacheUsage::Use);
if (SourceControlState.IsValid() && !SourceControlState->IsSourceControlled())
{
FilenamesToAdd.Add(*It);
// Make sure the file actually exists on disk before adding it
FString LongPackageName = FPackageName::FilenameToLongPackageName(*It);
if (!FPackageName::DoesPackageExist(LongPackageName))
{
UPackage* Package = FindPackage(NULL, *LongPackageName);
if (Package)
{
PackagesToSave.Add(Package);
}
}
}
}
if (FilenamesToAdd.Num() > 0)
{
// If any of the packages are new, save them now
if (PackagesToSave.Num() > 0)
{
const bool bCheckDirty = false;
const bool bPromptToSave = false;
const auto Return = FEditorFileUtils::PromptForCheckoutAndSave(PackagesToSave, bCheckDirty, bPromptToSave);
}
SourceControlProvider.Execute(ISourceControlOperation::Create<FMarkForAdd>(), FilenamesToAdd);
}
}
void FLevelCollectionModel::SCCHistory(const FLevelModelList& InList)
{
// This is odd, why SCC needs package names, instead of filenames?
TArray<FString> PackageNames;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if ((*It)->HasValidPackage())
{
PackageNames.Add((*It)->GetLongPackageName().ToString());
}
}
FSourceControlWindows::DisplayRevisionHistory(PackageNames);
}
void FLevelCollectionModel::SCCRefresh(const FLevelModelList& InList)
{
if(ISourceControlModule::Get().IsEnabled())
{
ISourceControlModule::Get().QueueStatusUpdate(GetFilenamesList(InList));
}
}
void FLevelCollectionModel::SCCDiffAgainstDepot(const FLevelModelList& InList, UEditorEngine* InEditor)
{
// Load the asset registry module
FAssetToolsModule& AssetToolsModule = FModuleManager::GetModuleChecked<FAssetToolsModule>("AssetTools");
ISourceControlProvider& SourceControlProvider = ISourceControlModule::Get().GetProvider();
// Iterate over each selected asset
for (auto It = InList.CreateConstIterator(); It; ++It)
{
ULevel* Level = (*It)->GetLevelObject();
if (Level == NULL)
{
return;
}
UPackage* OriginalPackage = Level->GetOutermost();
FString PackageName = OriginalPackage->GetName();
// Make sure our history is up to date
auto UpdateStatusOperation = ISourceControlOperation::Create<FUpdateStatus>();
UpdateStatusOperation->SetUpdateHistory(true);
SourceControlProvider.Execute(UpdateStatusOperation, OriginalPackage);
// Get the SCC state
FSourceControlStatePtr SourceControlState = SourceControlProvider.GetState(
OriginalPackage, EStateCacheUsage::Use
);
// If the level is in SCC.
if (SourceControlState.IsValid() && SourceControlState->IsSourceControlled())
{
// Get the file name of package
FString RelativeFileName;
if(FPackageName::DoesPackageExist(PackageName, NULL, &RelativeFileName))
{
if (SourceControlState->GetHistorySize() > 0)
{
auto Revision = SourceControlState->GetHistoryItem(0);
check(Revision.IsValid());
// Get the head revision of this package from source control
FString AbsoluteFileName = FPaths::ConvertRelativePathToFull(RelativeFileName);
FString TempFileName;
if (Revision->Get(TempFileName))
{
// Forcibly disable compile on load in case we are loading old blueprints that might try to update/compile
TGuardValue<bool> DisableCompileOnLoad(GForceDisableBlueprintCompileOnLoad, true);
// Try and load that package
FText NotMapReason;
UPackage* OldPackage = LoadPackage(NULL, *TempFileName, LOAD_None);
if(OldPackage != NULL && InEditor->PackageIsAMapFile(*TempFileName, NotMapReason))
{
/* Set the revision information*/
UPackage* Package = OriginalPackage;
FRevisionInfo OldRevision;
OldRevision.Changelist = Revision->GetCheckInIdentifier();
OldRevision.Date = Revision->GetDate();
OldRevision.Revision = Revision->GetRevision();
FRevisionInfo NewRevision;
NewRevision.Revision = TEXT("");
// Dump assets to temp text files
FString OldTextFilename = AssetToolsModule.Get().DumpAssetToTempFile(OldPackage);
FString NewTextFilename = AssetToolsModule.Get().DumpAssetToTempFile(OriginalPackage);
FString DiffCommand = GetDefault<UEditorLoadingSavingSettings>()->TextDiffToolPath.FilePath;
AssetToolsModule.Get().CreateDiffProcess(DiffCommand, OldTextFilename, NewTextFilename);
AssetToolsModule.Get().DiffAssets(OldPackage, OriginalPackage, OldRevision, NewRevision);
}
}
}
}
}
}
}
TArray<FName> FLevelCollectionModel::GetPackageNamesList(const FLevelModelList& InList)
{
TArray<FName> ResultList;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if ((*It)->HasValidPackage())
{
ResultList.Add((*It)->GetLongPackageName());
}
}
return ResultList;
}
TArray<FString> FLevelCollectionModel::GetFilenamesList(const FLevelModelList& InList)
{
TArray<FString> ResultList;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if ((*It)->HasValidPackage())
{
ResultList.Add((*It)->GetPackageFileName());
}
}
return ResultList;
}
TArray<UPackage*> FLevelCollectionModel::GetPackagesList(const FLevelModelList& InList)
{
TArray<UPackage*> ResultList;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
ULevel* Level = (*It)->GetLevelObject();
if (Level)
{
ResultList.Add(Level->GetOutermost());
}
}
return ResultList;
}
TArray<ULevel*> FLevelCollectionModel::GetLevelObjectList(const FLevelModelList& InList)
{
TArray<ULevel*> ResultList;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
ULevel* Level = (*It)->GetLevelObject();
if (Level)
{
ResultList.Add(Level);
}
}
return ResultList;
}
FLevelModelList FLevelCollectionModel::GetLoadedLevels(const FLevelModelList& InList)
{
FLevelModelList ResultList;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsLoaded())
{
ResultList.Add(*It);
}
}
return ResultList;
}
FLevelModelList FLevelCollectionModel::GetLevelsHierarchy(const FLevelModelList& InList)
{
struct FHierarchyCollector : public FLevelModelVisitor
{
virtual void Visit(FLevelModel& Item) override
{
ResultList.AddUnique(Item.AsShared());
}
FLevelModelList ResultList;
};
FHierarchyCollector HierarchyCollector;
for (auto It = InList.CreateConstIterator(); It; ++It)
{
(*It)->Accept(HierarchyCollector);
}
return HierarchyCollector.ResultList;
}
FBox FLevelCollectionModel::GetLevelsBoundingBox(const FLevelModelList& InList, bool bIncludeChildren)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
FBox TotalBounds(ForceInit);
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if (bIncludeChildren)
{
TotalBounds+= GetVisibleLevelsBoundingBox((*It)->GetChildren(), bIncludeChildren);
}
TotalBounds+= (*It)->GetLevelBounds();
}
return TotalBounds;
}
FBox FLevelCollectionModel::GetVisibleLevelsBoundingBox(const FLevelModelList& InList, bool bIncludeChildren)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
FBox TotalBounds(ForceInit);
for (auto It = InList.CreateConstIterator(); It; ++It)
{
if (bIncludeChildren)
{
TotalBounds+= GetVisibleLevelsBoundingBox((*It)->GetChildren(), bIncludeChildren);
}
if ((*It)->IsVisible())
{
TotalBounds+= (*It)->GetLevelBounds();
}
}
return TotalBounds;
}
const TSharedRef<const FUICommandList> FLevelCollectionModel::GetCommandList() const
{
return CommandList;
}
const FString ConfigIniSection = TEXT("WorldBrowser");
void FLevelCollectionModel::LoadSettings()
{
// Display paths
bool bDisplayPathsSetting = false;
GConfig->GetBool(*ConfigIniSection, TEXT("DisplayPaths"), bDisplayPathsSetting, GEditorPerProjectIni);
SetDisplayPathsState(bDisplayPathsSetting);
// Display actors count
bool bDisplayActorsCountSetting = false;
GConfig->GetBool(*ConfigIniSection, TEXT("DisplayActorsCount"), bDisplayActorsCountSetting, GEditorPerProjectIni);
SetDisplayActorsCountState(bDisplayActorsCountSetting);
}
void FLevelCollectionModel::SaveSettings()
{
// Display paths
GConfig->SetBool(*ConfigIniSection, TEXT("DisplayPaths"), GetDisplayPathsState(), GEditorPerProjectIni);
// Display actors count
GConfig->SetBool(*ConfigIniSection, TEXT("DisplayActorsCount"), GetDisplayActorsCountState(), GEditorPerProjectIni);
}
void FLevelCollectionModel::RefreshBrowser_Executed()
{
PopulateLevelsList();
}
void FLevelCollectionModel::LoadSelectedLevels_Executed()
{
LoadLevels(GetSelectedLevels());
}
void FLevelCollectionModel::UnloadSelectedLevels_Executed()
{
UnloadLevels(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCCheckOut()
{
SCCCheckOut(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCCheckIn()
{
SCCCheckIn(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCOpenForAdd()
{
SCCOpenForAdd(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCHistory()
{
SCCHistory(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCRefresh()
{
SCCRefresh(GetSelectedLevels());
}
void FLevelCollectionModel::OnSCCDiffAgainstDepot()
{
SCCDiffAgainstDepot(GetSelectedLevels(), GEditor);
}
void FLevelCollectionModel::OnSCCConnect() const
{
ISourceControlModule::Get().ShowLoginDialog(FSourceControlLoginClosed(), ELoginWindowMode::Modeless);
}
void FLevelCollectionModel::SaveSelectedLevels_Executed()
{
SaveLevels(GetSelectedLevels());
}
void FLevelCollectionModel::SaveSelectedLevelAs_Executed()
{
if (SelectedLevelsList.Num() > 0)
{
ULevel* Level = SelectedLevelsList[0]->GetLevelObject();
if (Level)
{
Copying //UE4/Dev-Sequencer to Dev-Main (//UE4/Dev-Main) ========================== MAJOR FEATURES + CHANGES ========================== Change 2800717 on 2015/12/11 by Max.Chen Sequencer: Sort the key times for drawing to fix path trajectory. #jira UE-24331 Change 2803299 on 2015/12/15 by Max.Chen Sequencer: Fix property names so that they're the display names. For example, "DepthOfFieldFStop" now reads as "Aperture F Stop" Change 2804586 on 2015/12/15 by Max.Chen Sequencer: Add zoom in/out with shortcuts underscore and equals. Change 2811823 on 2015/12/23 by Max.Preussner Editor: Added UI action for creating new content browser folders; code cleanup; removed dead code Based on GitHub PR #1809 by artemavrin (https://github.com/EpicGames/UnrealEngine/pull/1809) #github: 1809 Change 2811839 on 2015/12/23 by Max.Preussner StereoPanorama: Code cleanup pass Based on GitHub PR# 1756 by ETayrienHBO (https://github.com/EpicGames/UnrealEngine/pull/1756) Also: - NULL to nullptr - namespaced enums to enum classes - consistent whitespace, line breaks and parentheses #github: 1756 Change 2819172 on 2016/01/07 by Andrew.Rodham Sequencer: Marquee and move modes are now automatically activated based on sequencer hotspot Change 2819176 on 2016/01/07 by Andrew.Rodham Sequencer: Various cosmetic fixes - Added icons to tracks - Removed SAnimationOutlinerTreeNode dependency from FSequencerDisplayNode (to enable future customization of shot/event track etc) - Added spacer nodes between top level display nodes - Various hover states and highlights Change 2819445 on 2016/01/07 by Andrew.Rodham Sequencer: Rendering out a capture from the composition graph now renders at the correct size even if r.ScreenPercentage is not 100. #jira UE-24920 Change 2820747 on 2016/01/08 by Andrew.Rodham Sequencer: Added option to close the editor when capturing starts #jira UE-21932 Change 2827701 on 2016/01/13 by Max.Preussner Media: Updating audio track specs each frame to better support streaming media and variable streams. Change 2828465 on 2016/01/14 by Max.Preussner Media: Better visualization of unknown media durations Change 2828469 on 2016/01/14 by Max.Preussner Media: Checking URL scheme on URLs that didn't pass the file extension filter Change 2834888 on 2016/01/19 by Max.Preussner Core: TQueue modernization pass Change 2834934 on 2016/01/19 by Max.Preussner Core: Implemented TTripleBuffer for triple buffers. Change 2834950 on 2016/01/19 by Max.Preussner Core: Added unit tests for TTripleBuffer dirty flag Change 2835488 on 2016/01/20 by Max.Preussner Core: More descriptive method names, initialization constructor, unit tests for TTripleBuffer Change 2837515 on 2016/01/20 by Max.Chen Sequencer: Command line options for custom passes. Change 2837517 on 2016/01/20 by Max.Chen Sequencer: Fix crash in visibility track instance on PIE. Change 2837518 on 2016/01/20 by Max.Chen Sequencer: Add option to lock to frame rate while playing. #jira UETOOL-475 Change 2837523 on 2016/01/20 by Max.Chen Sequencer: Capture thumbnail on level sequence asset save. Change 2837527 on 2016/01/20 by Max.Chen Sequencer: Added preroll for subsequences. Refactor instance update to combine data in EMovieSceneUpdateData. #jira UE-25380 Change 2837537 on 2016/01/20 by Max.Chen Sequencer: Add sequencer transport controls back into viewports. #jira UE-25460 Change 2837561 on 2016/01/20 by Max.Chen Sequencer: Added ability to convert a possessable to a spawnable - This option is available for any root-level possessable object bindings - It will currently delete the existing possessable (we could make this behaviour optional in future) - There is currently no check to sett if the actor is possessed by subsequent sub-sequences. If this is the case, using a possessable, or externally owned spawnable would be a better bet. Change 2837565 on 2016/01/20 by Max.Chen [CL 2858958 by Max Chen in Main branch]
2016-02-08 13:35:28 -05:00
FEditorFileUtils::SaveLevelAs(Level);
}
}
}
void FLevelCollectionModel::MigrateSelectedLevels_Executed()
{
// Gather the package names for the levels
TArray<FName> PackageNames = GetPackageNamesList(GetSelectedLevels());
FAssetToolsModule& AssetToolsModule = FModuleManager::Get().LoadModuleChecked<FAssetToolsModule>("AssetTools");
AssetToolsModule.Get().MigratePackages(PackageNames);
}
void FLevelCollectionModel::SelectAllLevels_Executed()
{
SetSelectedLevels(FilteredLevelsList);
}
void FLevelCollectionModel::DeselectAllLevels_Executed()
{
FLevelModelList NoLevels;
SetSelectedLevels(NoLevels);
}
void FLevelCollectionModel::InvertSelection_Executed()
{
FLevelModelList InvertedLevels;
for (auto It = FilteredLevelsList.CreateIterator(); It; ++It)
{
if (!SelectedLevelsList.Contains(*It))
{
InvertedLevels.Add(*It);
}
}
SetSelectedLevels(InvertedLevels);
}
void FLevelCollectionModel::ShowSelectedLevels_Executed()
{
ShowLevels(GetSelectedLevels());
}
void FLevelCollectionModel::HideSelectedLevels_Executed()
{
HideLevels(GetSelectedLevels());
}
void FLevelCollectionModel::ShowOnlySelectedLevels_Executed()
{
//stash off a copy of the original array, as setting visibility can destroy the selection
FLevelModelList SelectedLevelsCopy = GetSelectedLevels();
InvertSelection_Executed();
HideSelectedLevels_Executed();
SetSelectedLevels(SelectedLevelsCopy);
ShowSelectedLevels_Executed();
}
void FLevelCollectionModel::ShowAllLevels_Executed()
{
ShowLevels(GetFilteredLevels());
}
void FLevelCollectionModel::HideAllLevels_Executed()
{
HideLevels(GetFilteredLevels());
}
void FLevelCollectionModel::LockSelectedLevels_Executed()
{
LockLevels(GetSelectedLevels());
}
void FLevelCollectionModel::UnlockSelectedLevels_Executed()
{
UnlockLevels(GetSelectedLevels());
}
void FLevelCollectionModel::LockAllLevels_Executed()
{
if (!IsReadOnly())
{
const FScopedTransaction Transaction(LOCTEXT("LockAllLevels", "Lock All Levels"));
LockLevels(GetFilteredLevels());
}
}
void FLevelCollectionModel::UnockAllLevels_Executed()
{
if (!IsReadOnly())
{
const FScopedTransaction Transaction(LOCTEXT("UnlockAllLevels", "Unlock All Levels"));
UnlockLevels(GetFilteredLevels());
}
}
void FLevelCollectionModel::ToggleReadOnlyLevels_Executed()
{
//We are about to lock some Levels, deselect all actor and surfaces from the read only levels
if (!GEditor->bLockReadOnlyLevels)
{
DeselectActorsInAllReadOnlyLevel(GetAllLevels());
DeselectSurfaceInAllReadOnlyLevel(GetAllLevels());
// Tell the editor selection status was changed.
GEditor->NoteSelectionChange();
}
GEditor->bLockReadOnlyLevels = !GEditor->bLockReadOnlyLevels;
}
void FLevelCollectionModel::MakeLevelCurrent_Executed()
{
check( SelectedLevelsList.Num() == 1 );
SelectedLevelsList[0]->MakeLevelCurrent();
}
Copying //UE4/Dev-Editor to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2756103 on 2015/11/05 by Jamie.Dale Implemented UFont::GetResourceSize to work correctly with the Size Map tool Change 2756104 on 2015/11/05 by Jamie.Dale Changed the font used when a font is missing or invalid to be the last resort font, rather than the localized fallback font The localized fallback font could cause different results based on your culture, and the last resort font makes it clearer that something is set-up incorrectly as it just draws invalid glyph markers for all of the text. Change 2756105 on 2015/11/05 by Jamie.Dale Fixed a crash when using an empty FKey property with a Data Table FKeyStructCustomization was asserting because there were no objects being edited, due to a newly added Data Table containing zero rows. I've removed this assert, and also updated SKeySelector to no longer require a separate argument to say whether multiple keys with different values are selected (this is now calculated from the call to get the current key, which will return an empty TOptional for multiple values). #jira UE-22897 Change 2757015 on 2015/11/06 by Joe.Tidmarsh SSProgressBar marquee tint. Accounts for widget color and opacity. PR #1698 Change 2757156 on 2015/11/06 by Joe.Tidmarsh Implemented "Go to Variable" functionality for widgets in Widget Blueprint Editor. When we switch modes in UMG from Designer to Graph. We select the variable (In "My Blueprint"), if one exists, for the currently selected widget. Additionally we update the details panel. * Added SelectGraphActionItemByName to FBlueprintEditor. This selects an item in My Blueprint and also displays it in the details panel of graph mode. SMyBlueprint is not available to FWidgetBlueprintEditor in UMGEditor module as it's privately implemented within Kismet. #rb Ben.Cosh #jira UE-20170 Change 2757181 on 2015/11/06 by Jamie.Dale Cleaned up some duplication in UMG text widgets, and exposed the text shaping options The common properties used by all text widgets that are text layout based have been moved into a UTextLayoutWidget base class, and all text layout based widgets now derive from this. The options needed to control the text shaping method used by a text based widget have been exposed via the FShapedTextOptions struct. This contains a way to manage these optional (and advanced) overrides. You typically wouldn't change these from the default unless you knew exactly what you were doing (eg, you have a text block containing only numbers). This change also updates SRichTextBlock to work with an invalidation panel in the same way that STextBlock does Change 2757734 on 2015/11/06 by David.Nikdel #UE4 #Editor - Added support for meta=(TitleProperty="StructPropertyNameHere") on properties of type TArray<FSomeStruct>. - This changes the editor rolled-up display of these values from "{0} members" to a stringified version of the specified property (if found). #CodeReview: Matt.Kuhlenschmidt Change 2758786 on 2015/11/09 by Joe.Tidmarsh Border widget now correctly synchronizes padding property #jira UE-23070 Change 2758791 on 2015/11/09 by Joe.Tidmarsh Shadow of FCanvasTextItem should be drawn before the outline color. Consulted with Bruce.N who believes this is not the intended behavior and was an oversight when refactoring FCanvas (CL 1695138) #jira UE-21623 #1608 #rb Simon.Tovey, Bruce.Nesbit Change 2758813 on 2015/11/09 by Joe.Tidmarsh UMG: Attempting to parent multiple widgets (in Hierarchy tree) to a widget that can't have multiple children will notify the user and ignore the operation. [UE-22921] [CrashReport] Parenting multiple actors under border crashes editor #jira UE-22921 Change 2759234 on 2015/11/09 by Nick.Darnell Slate - Improving the way we track references to materials in slate to better keep things alive until they're no longer needed for rendering. Additionally, making it so the we use the material and texture free list when possible when cleaning up things as to not allocate new memory if not required. Concidentually this can help with problems with corrupted memory on destruct as well, because it means the memory isn't really going to become garbage any more. #codereview Matt.Kuhlenschmidt, Bob.Tellez Change 2760954 on 2015/11/10 by Nick.Darnell Slate - A bug in the introduction of custom rendered elements accidentally broke filling out the texture coordinates for standard material usage. Materials should once again tile correctly just like images do. #jira UE-23118 Change 2761129 on 2015/11/10 by Nick.Darnell Slate - Removing the Pre-Multiply alpha path the way it was added, introducing it in a way that doesn't require changes inside the shader. Continuing to improve the SRetainerWidget to no longer have a frame delay between resizes and painting, also working on getting it handle clipping correctly but still not there yet. Change 2761391 on 2015/11/10 by Alexis.Matte jira UE-20281 and UE-22259 Fbx scene Re-import workflow - First draft of the reimport workflow using a reimport asset in the content browser #codereview nick.darnell Change 2762323 on 2015/11/11 by Alexis.Matte fix build compilation Change 2762407 on 2015/11/11 by Jamie.Dale UDataTable::SaveStructData now writes out dummy data when RowStruct is null This didn't used to happen, which would cause a miss-match between what UDataTable::LoadStructData was expecting, and would result in a Data Table that could never be loaded again. This change also improves the error message when editing a Data Table with a null row struct, and adds the editor-only RowStructName property to cache the name of the last used struct (for error reporting). #jira UE-22789 Change 2762508 on 2015/11/11 by Nick.Darnell UMG - Making it more obvious what keys do special stuff with anchors in UMG. Fixing the way snapping to anchors works with Control, it now only zeros out the side you're dragging instead of the entire widget, which was silly. Enhancing the designer message system to no longer be based on an enum and instead let arbitrary systems push and pop FText messages. Fixing animations in the anchor drop down to properly animate, broke when we introduced active timers. Change 2763241 on 2015/11/11 by Nick.Darnell Slate - We no longer allow popup windows to be larger than the primary display window for windows where max width/height is unspecified. This is to prevent accidential creation of tooltip windows that are larger than the driver allows causing crashes. #jira UE-20336
2015-12-12 08:54:23 -05:00
void FLevelCollectionModel::FindInContentBrowser_Executed()
{
TArray<UObject*> Objects;
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
ULevel* Level = (*It)->GetLevelObject();
if (Level)
{
UObject* LevelOuter = Level->GetOuter();
if (LevelOuter)
{
// Search for the level's outer (the UWorld) as this is the actual asset shown by the content browser
Objects.AddUnique(LevelOuter);
}
}
}
GEditor->SyncBrowserToObjects(Objects);
}
bool FLevelCollectionModel::IsValidFindInContentBrowser()
{
return true;
}
void FLevelCollectionModel::MoveActorsToSelected_Executed()
{
// If matinee is open, and if an actor being moved belongs to it, message the user
if (GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_InterpEdit))
{
const FEdModeInterpEdit* InterpEditMode = (const FEdModeInterpEdit*)GLevelEditorModeTools().GetActiveMode(FBuiltinEditorModes::EM_InterpEdit);
if (InterpEditMode && InterpEditMode->MatineeActor)
{
TArray<AActor*> ControlledActors;
InterpEditMode->MatineeActor->GetControlledActors(ControlledActors);
// are any of the selected actors in the matinee
USelection* SelectedActors = GEditor->GetSelectedActors();
for (FSelectionIterator Iter(*SelectedActors); Iter; ++Iter)
{
AActor* Actor = CastChecked<AActor>(*Iter);
if (Actor != nullptr && (Actor == InterpEditMode->MatineeActor || ControlledActors.Contains(Actor)))
{
const bool ExitInterp = EAppReturnType::Yes == FMessageDialog::Open(EAppMsgType::YesNo, NSLOCTEXT("UnrealEd", "MatineeUnableToMove", "You must close Matinee before moving actors.\nDo you wish to do this now and continue?"));
if (!ExitInterp)
{
return;
}
GLevelEditorModeTools().DeactivateMode(FBuiltinEditorModes::EM_InterpEdit);
break;
}
}
}
}
MakeLevelCurrent_Executed();
const FScopedTransaction Transaction( LOCTEXT("MoveSelectedActorsToSelectedLevel", "Move Selected Actors to Level") );
GEditor->MoveSelectedActorsToLevel(GetWorld()->GetCurrentLevel());
RequestUpdateAllLevels();
}
void FLevelCollectionModel::MoveFoliageToSelected_Executed()
{
if (GetSelectedLevels().Num() == 1)
{
ULevel* TargetLevel = GetSelectedLevels()[0]->GetLevelObject();
GEditor->MoveSelectedFoliageToLevel(TargetLevel);
}
}
void FLevelCollectionModel::SelectActors_Executed()
{
//first clear any existing actor selection
const FScopedTransaction Transaction( LOCTEXT("SelectActors", "Select Actors in Level") );
GEditor->GetSelectedActors()->Modify();
GEditor->SelectNone( false, true );
for(auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
(*It)->SelectActors(/*bSelect*/ true, /*bNotify*/ true, /*bSelectEvenIfHidden*/ true);
}
}
void FLevelCollectionModel::DeselectActors_Executed()
{
const FScopedTransaction Transaction( LOCTEXT("DeselectActors", "Deselect Actors in Level") );
for(auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
(*It)->SelectActors(/*bSelect*/ false, /*bNotify*/ true, /*bSelectEvenIfHidden*/ true);
}
}
void FLevelCollectionModel::ExpandSelectedItems_Executed()
{
struct FExpandLevelVisitor : public FLevelModelVisitor
{
virtual void Visit(FLevelModel& Item) override { Item.SetLevelExpansionFlag(true); }
} Expander;
for (TSharedPtr<FLevelModel> LevelModel: SelectedLevelsList)
{
LevelModel->Accept(Expander);
}
BroadcastHierarchyChanged();
}
void FLevelCollectionModel::FillLockSubMenu(FMenuBuilder& InMenuBuilder)
{
const FLevelCollectionCommands& Commands = FLevelCollectionCommands::Get();
InMenuBuilder.AddMenuEntry( Commands.World_LockSelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_UnockSelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_LockAllLevels );
InMenuBuilder.AddMenuEntry( Commands.World_UnockAllLevels );
if (GEditor->bLockReadOnlyLevels)
{
InMenuBuilder.AddMenuEntry( Commands.World_UnlockReadOnlyLevels );
}
else
{
InMenuBuilder.AddMenuEntry( Commands.World_LockReadOnlyLevels );
}
}
void FLevelCollectionModel::FillVisibilitySubMenu(FMenuBuilder& InMenuBuilder)
{
const FLevelCollectionCommands& Commands = FLevelCollectionCommands::Get();
InMenuBuilder.AddMenuEntry( Commands.World_ShowSelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_HideSelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_ShowOnlySelectedLevels );
InMenuBuilder.AddMenuEntry( Commands.World_ShowAllLevels );
InMenuBuilder.AddMenuEntry( Commands.World_HideAllLevels );
}
void FLevelCollectionModel::FillSourceControlSubMenu(FMenuBuilder& InMenuBuilder)
{
const FLevelCollectionCommands& Commands = FLevelCollectionCommands::Get();
if (CanExecuteSCC())
{
if (CanExecuteSCCCheckOut())
{
InMenuBuilder.AddMenuEntry( Commands.SCCCheckOut );
}
if (CanExecuteSCCOpenForAdd())
{
InMenuBuilder.AddMenuEntry( Commands.SCCOpenForAdd );
}
if (CanExecuteSCCCheckIn())
{
InMenuBuilder.AddMenuEntry( Commands.SCCCheckIn );
}
InMenuBuilder.AddMenuEntry( Commands.SCCRefresh );
InMenuBuilder.AddMenuEntry( Commands.SCCHistory );
InMenuBuilder.AddMenuEntry( Commands.SCCDiffAgainstDepot );
}
else
{
InMenuBuilder.AddMenuEntry( Commands.SCCConnect );
}
}
void FLevelCollectionModel::DeselectActorsInAllReadOnlyLevel(const FLevelModelList& InLevelList)
{
const FScopedTransaction Transaction(LOCTEXT("DeselectActorsInReadOnlyLevel", "Deselect Actors in all read only Level"));
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsFileReadOnly())
{
(*It)->SelectActors(/*bSelect*/ false, /*bNotify*/ true, /*bSelectEvenIfHidden*/ true);
}
}
}
void FLevelCollectionModel::DeselectSurfaceInAllReadOnlyLevel(const FLevelModelList& InLevelList)
{
const FScopedTransaction Transaction(LOCTEXT("DeselectSurfacesInReadOnlyLevel", "Deselect Surfaces in all read only Level"));
for (auto It = InLevelList.CreateConstIterator(); It; ++It)
{
if ((*It)->IsFileReadOnly())
{
(*It)->DeselectAllSurfaces();
}
}
}
void FLevelCollectionModel::OnLevelsCollectionChanged()
{
UpdateAllLevels();
PopulateFilteredLevelsList();
BroadcastCollectionChanged();
}
void FLevelCollectionModel::OnLevelsSelectionChanged()
{
if (bUpdatingLevelsSelection)
{
return;
}
TGuardValue<bool> UpdateGuard(bUpdatingLevelsSelection, true);
// Pass the list we just created to the world to set the selection
CurrentWorld->SetSelectedLevels(
GetLevelObjectList(SelectedLevelsList)
);
// Request SC status update for selected levels
ISourceControlModule::Get().QueueStatusUpdate(
GetFilenamesList(SelectedLevelsList)
);
// Expand hierarchy to selected levels
for (auto It = SelectedLevelsList.CreateIterator(); It; ++It)
{
TSharedPtr<FLevelModel> ParentLevelModel = (*It)->GetParent();
while (ParentLevelModel.IsValid())
{
ParentLevelModel->SetLevelExpansionFlag(true);
ParentLevelModel = ParentLevelModel->GetParent();
}
}
BroadcastSelectionChanged();
}
void FLevelCollectionModel::OnLevelsSelectionChangedOutside()
{
if (!bUpdatingLevelsSelection)
{
SetSelectedLevelsFromWorld();
}
}
void FLevelCollectionModel::OnLevelsHierarchyChanged()
{
BroadcastHierarchyChanged();
}
void FLevelCollectionModel::OnLevelAddedToWorld(ULevel* InLevel, UWorld* InWorld)
{
if (InWorld == GetWorld())
{
TSharedPtr<FLevelModel> LevelModel = FindLevelModel(InLevel->GetOutermost()->GetFName());
if (LevelModel.IsValid())
{
LevelModel->OnLevelAddedToWorld(InLevel);
}
}
}
void FLevelCollectionModel::OnLevelRemovedFromWorld(ULevel* InLevel, UWorld* InWorld)
{
if (InWorld == GetWorld())
{
TSharedPtr<FLevelModel> LevelModel = FindLevelModel(InLevel->GetOutermost()->GetFName());
if (LevelModel.IsValid())
{
LevelModel->OnLevelRemovedFromWorld();
}
}
}
void FLevelCollectionModel::OnRedrawAllViewports()
{
if (GShaderCompilingManager && GShaderCompilingManager->IsCompiling())
{
// Editor seems like still compiling shaders, do not request tiles redraw until all shaders complation is finished
// Basically redraw only on last event
return;
}
RequestRedrawAllLevels();
}
void FLevelCollectionModel::OnLevelActorAdded(AActor* InActor)
{
if (InActor &&
InActor->GetWorld() == CurrentWorld.Get()) // we care about our world only
{
bRequestedUpdateActorsCount = true;
}
}
void FLevelCollectionModel::OnLevelActorDeleted(AActor* InActor)
{
bRequestedUpdateActorsCount = true;
}
void FLevelCollectionModel::OnFilterChanged()
{
PopulateFilteredLevelsList();
BroadcastCollectionChanged();
}
void FLevelCollectionModel::CacheCanExecuteSourceControlVars() const
{
bCanExecuteSCCCheckOut = false;
bCanExecuteSCCOpenForAdd = false;
bCanExecuteSCCCheckIn = false;
bCanExecuteSCC = false;
ISourceControlProvider& SourceControlProvider = ISourceControlModule::Get().GetProvider();
for (auto It = SelectedLevelsList.CreateConstIterator(); It; ++It)
{
if (ISourceControlModule::Get().IsEnabled() && SourceControlProvider.IsAvailable())
{
bCanExecuteSCC = true;
ULevel* Level = (*It)->GetLevelObject();
if (Level)
{
// Check the SCC state for each package in the selected paths
FSourceControlStatePtr SourceControlState = SourceControlProvider.GetState(Level->GetOutermost(), EStateCacheUsage::Use);
if (SourceControlState.IsValid())
{
if (SourceControlState->CanCheckout())
{
bCanExecuteSCCCheckOut = true;
}
else if (!SourceControlState->IsSourceControlled())
{
bCanExecuteSCCOpenForAdd = true;
}
else if (SourceControlState->IsCheckedOut() || SourceControlState->IsAdded())
{
bCanExecuteSCCCheckIn = true;
}
}
}
}
if (bCanExecuteSCCCheckOut &&
bCanExecuteSCCOpenForAdd &&
bCanExecuteSCCCheckIn)
{
// All options are available, no need to keep iterating
break;
}
}
}
bool FLevelCollectionModel::IsValidMoveActorsToLevel() const
{
static bool bCachedIsValidActorMoveResult = false;
if (bSelectionHasChanged)
{
bSelectionHasChanged = false;
bCachedIsValidActorMoveResult = false;
// We can only operate on a single selected level
if ( SelectedLevelsList.Num() == 1 )
{
ULevel* Level = SelectedLevelsList[0]->GetLevelObject();
if (Level)
{
// Allow the move if at least one actor is in another level
USelection* SelectedActors = GEditor->GetSelectedActors();
for (FSelectionIterator Iter(*SelectedActors); Iter; ++Iter)
{
AActor* Actor = CastChecked<AActor>(*Iter);
if (Actor != nullptr)
{
if (Actor->GetLevel() != Level)
{
bCachedIsValidActorMoveResult = true;
break;
}
}
}
}
}
}
// if non of the selected actors are in the level, just check the level is unlocked
return bCachedIsValidActorMoveResult && AreAllSelectedLevelsEditableAndVisible();
}
bool FLevelCollectionModel::IsValidMoveFoliageToLevel() const
{
if (IsOneLevelSelected() &&
AreAllSelectedLevelsEditableAndVisible() &&
GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_Foliage))
{
return true;
}
return false;
}
void FLevelCollectionModel::OnActorSelectionChanged(UObject* obj)
{
OnActorOrLevelSelectionChanged();
}
void FLevelCollectionModel::OnActorOrLevelSelectionChanged()
{
bSelectionHasChanged = true;
}
#undef LOCTEXT_NAMESPACE