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]
- improvements to debug drawing - a test can declare which level actors it's using and point at them while being selected in the editor
- added a "comment" field in propertied for a quick summary
[CL 2475160 by Mieszko Zielinski in Main branch]
#change Made subobjects public again
#change Added temporary privat_subobject macro (defaults to public keyword) to help with changing eveything back later
#change TEMPORARILY moved subobject accessors to cpp fiels so that we don't get deprecation warnings when compiling the engine headers
#change Added DEPRECATED_FORGAME macro which is empty for the engine modules and reverts back to DEPRECATED for game modules
[CL 2345437 by Robert Manuszewski in Main branch]
When a whole set of functional tests is run as part of summary a "Repro String" is generated. This string can be used as a parameter to RunAllFunctionalTests and if so only indicated tests will be performed.
[CL 2108028 by Mieszko Zielinski in Main branch]
- a functional test can specify an "observation point" where player will get teleported when the test is started. I suggest using CameraActors
- made function test maps be executed as regular games when run from automation in Editor. Running as "simulation" was not really working.
[CL 2099005 by Mieszko Zielinski in Main branch]
Contributed by UE4Linux community.
#codereview Mieszko.Zielinski, Michael.Schoell, Maciej.Mroz, Michael.Trepka, Justin.Sargent, Steve.Robb
[CL 2070232 by Dmitry Rekman in Main branch]