Replaced all calls to UWorld::GetFirstPlayerController in the engine with a more readily available player controller, or UGameInstance::GetFirstLocalPlayerController, since that appears to be the actual intent. The first controller in the world's list may not be considered local, such as when a client is recording a replay.
Also changed UConsole::ConsoleCommand to use the first local player controller instead of the first player controller with a non-null player. This fixes commands like ToggleDebugCamera during client replay recording.
--------
Integrated using branch UE4-Orion-To-UE4 of change#2688431 by Ryan.Gerleve on 2015/09/11 14:24:23.
[CL 2688498 by Ryan Gerleve in Main branch]
Added GameplayDebugger settings to editor (AI Tools section) - it's usefull feature to controll default properties.
Fixed LogVisualizer as experimental menu entry in UE4 Editor
[CL 2371500 by sebastian kowalczyk in Main branch]
Includes following engine changes:
Getting display metrics only once at construct time when using SSafeZone. GetDisplayMetrics is expensive in Windows so it is impractical to call it every frame.
- Some AI API improvements, mostly switchig pointer function parameters to references.
- minor refactor of UCrowdFollowingComponent's queryinf functions:
- IsCrowd*Enabled functions refactored to IsCrowd*Active
- implemented IsCrowd*Enabled that return acrual values of relevant properties
- Added a function to CrowdManager to query for location of agents neighbouring given agent
Added support for PS4 touchpad-based cursor
You can now choose to skip synchronously scanning for asset data in object libraries and just use the data that is currently in the asset registry. The data will be refereshed automatically later once the global scan completes. The only applies to non-commandlet editor instances.
Crash fixes for trying to access NULL Metal surfaces on IOS
Slate: Cleaned up some atlas code related to padding and corrected some comments
[CL 2347323 by Ben Zeigler in Main branch]
- fixed activation in different configurations (PIE, standalone, client-server, etc.).
- Fixed issues related to NavMesh rendering
- fixed EQS query switching
Fixes integrated from Dev (CL #2292104 and CL #2292198)
[CL 2292239 by sebastian kowalczyk in Main branch]
Removed some header dependencies from GameplayDebugger (GameplayDebugger's pch no longer including editor headers, etc.) #UE4
[CL 2116658 by sebastian kowalczyk in Main branch]