Commit Graph

19 Commits

Author SHA1 Message Date
Jamie Dale
47d89a1e16 Added a Blueprint node for calling Python with args
This allows people to create a Blueprint node that can define a blob of literal Python script, along with wildcard inputs and outputs to be used by the script itself.

The node takes care of marshalling data in and out of the Python script, and allows people to invoke custom Python from Blueprints without relying on Python generated BPFL types.

#jira UE-84932
#rb Dan.OConnor

[CL 10421545 by Jamie Dale in Dev-Editor branch]
2019-11-25 14:20:28 -05:00
Jamie Dale
046a164ece Exposed UserDefinedEnum types to Python
This is the first phase of allowing Blueprint types to be generated for Python, which must be accessed via unreal.get_blueprint_generated_types(...) as asset names are not guaranteed to be unique, so they're not added to the unreal module.

Once a type has been generated for Python, it will be updated if the underlying asset is changed. Should the asset be deleted then the Python type will be reset to clean state and become mostly unusable.

This change also ensures that the Unreal type pointers referenced by the Python meta-data are ARO'd correctly. This will cause a warning if you try and delete an asset with a type used by Python.

 MyEnum = unreal.get_blueprint_generated_types('/Game/MyEnum') # This can also accept multiple arguments or a list, and will return a tuple of types
 print(MyEnum.MY_ENTRY)

#jira UE-81862, UE-81859
#rb Lauren.Barnes

[CL 10227467 by Jamie Dale in Dev-Editor branch]
2019-11-14 16:52:43 -05:00
chris gagnon
5ee508d57f Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: chris.gagnon
#ROBOMERGE-SOURCE: CL 8614014 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v409-8614070)

[CL 8634524 by chris gagnon in Dev-VR branch]
2019-09-11 08:23:28 -04:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Joe Graf
0d278d7710 MERGE
Added error handling for a missing self paramter in a python function that is exposed to the engine
Added missing class flags that allow a python object to expose a python function as a BP node without having to be present in the native base class
Update the Blueprint action database when a python class is loaded after the list has already been populated

#rb: merge

[CL 8214003 by Joe Graf in Dev-VR branch]
2019-08-22 15:08:24 -04:00
Arciel Rekman
f15cf798fc Linux: link symbols used by Python properly (UE-70768).
#rb none

[CL 5274649 by Arciel Rekman in Dev-Editor branch]
2019-03-01 22:35:19 -05:00
jamie dale
4f79d4d1e6 Added support for connecting to an existing editor instance to run Python commands on it remotely
This is off by default, and discovery is limited to the local host by default for safety. To enable it you need to turn on remote discovery in the Python plug-in project settings, which will make your editor discoverable for remote execution (via external scripts using the remote_execution.py module).

Remote execution uses a protocol of UTF-8 encoded JSON, and a combination of UDP-based multicast for discovery and remote connection requests, and TCP-based peer-to-peer communication for the actual command channel. See PythonScriptRemoteExecution.cpp for the full protocol definition.

remote_execution.py serves as both a reference implementation for the protocol implementation needed to connect to an editor instance, and as an out-of-the-box solution for applications that are written in (or can execute) Python (by importing it as a module and creating a RemoteExecution instance). remote_execution.py also provides a minimal example at the bottom of the file that demonstrates how to use the API, and this demo application can be seen by executing the file directly.

[FYI] Aaron.Carlisle
#rb Chris.Gagnon

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5229289 via CL 5236106 via CL 5236230
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5254819 by jamie dale in Dev-VR branch]
2019-02-28 18:13:10 -05:00
Arciel Rekman
70128fcd1f Make unresolved symbols a compile-time error on Linux.
- This enables reporting of unresolved symbols within a single module. Full reporting (i.e. symbols missing from both library currently being linked and all other
  libraries it is linking to) is not enabled, because it doesn't work with our circular (re)linking scheme. When full reporting is enabled, if module A links to module B
  that links to module A again, then A's symbols referenced in B are reported as unresolved.

- Even with this, some modules cannot be solved at this moment, so this change introduces a setting to opt-out.
   Initially there were 5 modules that needed this opt-out. I solved most of them (some by disabling, since they missed the necessary libs), and now there is only one left.
   Even the last one is solvable (UE-70768), so it is tempting to remove this option. However, I anticipate that there will be moment when a new module addition
   will be breaking CIS due to unresolved symbols, and there will be no immediate and easy way to disable that except for nixing the whole system. Also, licensees may have more.

#rb Ben.Marsh, Anthony.Bills, Brandon.Schaefer
#fyi Marcin.Undak, Michael.Sartain, Brandon.Schaefer

[CL 5237830 by Arciel Rekman in Dev-Editor branch]
2019-02-28 08:52:50 -05:00
jamie dale
5488e3e57d Added support for connecting to an existing editor instance to run Python commands on it remotely
This is off by default, and discovery is limited to the local host by default for safety. To enable it you need to turn on remote discovery in the Python plug-in project settings, which will make your editor discoverable for remote execution (via external scripts using the remote_execution.py module).

Remote execution uses a protocol of UTF-8 encoded JSON, and a combination of UDP-based multicast for discovery and remote connection requests, and TCP-based peer-to-peer communication for the actual command channel. See PythonScriptRemoteExecution.cpp for the full protocol definition.

remote_execution.py serves as both a reference implementation for the protocol implementation needed to connect to an editor instance, and as an out-of-the-box solution for applications that are written in (or can execute) Python (by importing it as a module and creating a RemoteExecution instance). remote_execution.py also provides a minimal example at the bottom of the file that demonstrates how to use the API, and this demo application can be seen by executing the file directly.

[FYI] Aaron.Carlisle
#rb Chris.Gagnon


#ROBOMERGE-SOURCE: CL 5229289 via CL 5236106

[CL 5236230 by jamie dale in Main branch]
2019-02-28 00:48:40 -05:00
chris gagnon
632b923945 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: chris.gagnon
#ROBOMERGE-SOURCE: CL 4837001 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4837006 by chris gagnon in Dev-VR branch]
2019-01-29 19:23:19 -05:00
Ryan Vance
7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00
Chris Gagnon
bd368fae31 Engine and Editor subsystems
- Dynamic subsystems for fixed module startup wrt subsystem initialization
- Python Gettter exposed for both eg: import_subsystem = unreal.get_editor_subsystem(unreal.ImportSubsystem)
- Import Subsystem with python exposed import events

#rb Matt.Kuhlenschmidt, Rex.Hill
#codereview Matt.Kuhlenschmidt, Rex.Hill

[CL 4725117 by Chris Gagnon in Dev-Editor branch]
2019-01-15 13:41:40 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Mike Beach
eacc4047d8 Merge from //UE4/Main@4203495
#rb no.one

[CL 4208755 by Mike Beach in Dev-VR branch]
2018-07-12 19:05:28 -04:00
jamie dale
6808f26b76 Added missing build dependency
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 4162339 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: jamie.dale

[CL 4167513 by jamie dale in Staging-4.20 branch]
2018-06-27 16:58:25 -04:00
JeanMichel Dignard
81bc574d4c Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 4059031)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3974233 by Rex.Hill

	Optimized BuildStaticMeshVertexAndIndexBuffers and TEdgeBuilder

Change 3974234 by Rex.Hill

	Reduced number of calls to SaveRawMesh and LoadRawMesh

Change 3974235 by Rex.Hill

	Optimized SaveRawMesh by pre-allocating buffer

Change 3981370 by Jamie.Dale

	Added support for deprecated (renamed) classes, structs, enums, functions, and properties in Python

	The glue code generation will now use the existing redirects system to build deprecated entries for old names. You can also specify deprecated names to the ScriptName and ScriptMethod meta-data values by adding extra semi-colon separated entries (the first entry is the current name).

	Accessing deprecated objects in Python leads to a deprecation warning when developer mode is enabled.

Change 3983875 by Jamie.Dale

	Exposed some asset registry functions that may be useful in a commandlet environment

Change 3983901 by Jamie.Dale

	Hoisted some AssetData helpers onto the struct in Python

Change 3988367 by Jamie.Dale

	Python now honors EditInstanceOnly and EditDefaultsOnly when setting property values

Change 3988369 by Jamie.Dale

	Exposed generic get_default_object function that takes a type and returns you the CDO

	This is needed for types that aren't natively exposed to Python (such as Blueprint generated types)

Change 3989890 by Jamie.Dale

	Moved BlutilityActor to be Private in EditorScriptingUtils

	This can be removed once it's no longer needed.

Change 3989900 by Jamie.Dale

	Updated EditorScriptingUtilities to use the Public/Private folder structure for source code

Change 3990082 by Anousack.Kitisa

	Added plugin for Shotgun integration in Unreal.

	#jira UEENT-959

Change 3990783 by Anousack.Kitisa

	Changed ShotgunMenuItem to a struct.

Change 3991139 by Jamie.Dale

	Minimized use of GUnrealEd (favoring GEditor) so that this code can be used by commandlets

	Removed redundant usages of GEditor/GUnrealEd from within UEditorEngine itself, and fixed cases where null data was being accessed. Testing that loading, saving, and creating a new blank map will now work in a commandlet without crashing.

Change 3993189 by Jamie.Dale

	Fixed some mismatched return types

Change 3993191 by Jamie.Dale

	Inital support for taking the GIL at key points where external C code calls into Python

Change 3993683 by Patrick.Boutot

	[LTC]
	Add a CustomTimeStep that decode a LinearTimecode from the MediaSource. The MediaPlayer need to support buffering and should not run late since it's used to tick the engine time.
	Update DropTimecode to use the new Timecode structure in TimeManagement.

Change 3994430 by Jamie.Dale

	Adjusted how inline structs work so that types known at compile time can inline allocate without being fully hand-wrapped in Python

	They must now be registered via FPyWrapperTypeRegistry::RegisterInlineStructFactory before we start generating wrapped types

Change 3996083 by Jamie.Dale

	Added a distinct type for generated enum types so that you can query their available enum entries

Change 3998253 by conan.reis

	Remove redundant Perforce error output from the log

Change 4000307 by JeanMichel.Dignard

	Optimized FFbxImporter::ValidateAllMeshesAreReferenceByNodeAttribute()
	- Stored all scene nodes geometry ids in a set instead of looping on all scene nodes for every geometry. O(N) instead of O(N^2).
	- For 38685 scene nodes and 5417 geometry, the time went from 2 min 21.688 s to 0 min 0.098 s.

Change 4000605 by Jamie.Dale

	Added support for constant "hoisting"

	This allows you to tag a helper function that returns a constant with ScriptConstant meta-data (providing a potentially overridden name) to "hoist" that helper function to be a constant of the type it operates on when wrapped for Python (ScriptConstantHost can be used to host the constant on a struct rather than its own object).

Change 4001617 by Jamie.Dale

	Updated ScriptMethod and ScriptConstant to allow hoisting onto other classes as well as structs

	This allows you to have a runtime class be extended via methods in an editor-only module

Change 4005287 by Jamie.Dale

	Added a GIL lock when Slate Tick events call back into Python

Change 4005383 by Andrew.Rodham

	Sequencer: Initial scripting exposure and support

	First pass includes the following:
	  - Find/add/interate master tracks
	  - Find/add/interate bindings (both possessables and spawnables)
	  - Find/add/interate tracks on bindings
	  - Add/interate sections on tracks
	  - Get/Set section ranges

Change 4008609 by Jamie.Dale

	Added some missing native Python types to the documentation

	Native modules now build up a list of types and functions associated with them. This information is then passed through to the document generation to ensure that all exposed native types and functions are documented.

	In addition, any native Python module files are now assimilated into the unreal.py stub file and parsed so that they can be documented too.

Change 4008654 by Jamie.Dale

	Allow math operators to use the base type versions unless overridden

Change 4009740 by Patrick.Boutot

	Add BP function to convert a Timecode into a string.

Change 4009763 by Patrick.Boutot

	Update AudioCapture to retreive the SampleRate. Used by the LinearTimecode. Change the requested format from int16 to float since we converted it into that format later on.

Change 4009768 by Andrew.Rodham

	Removed explicit names from ScriptName methods, expanded sequencer scripting range functionality

Change 4009830 by Jamie.Dale

	Added support for UPARAM(ref) on arguments exposed to Python

	For standard functions, this just produces an input and output for the same argument (we can't mutate the input due to potential coercion).

	For ScriptMethod functions that use it on the 'self' argument, this will mark the function as "inline" and have the function apply the result of the 'self' argument back onto the 'self' instance after calling the function.

Change 4010034 by Jamie.Dale

	Added support for init_unreal.py start-up scripts

	These can be placed in any known sys.path in Python, including the Content/Python folders we automatically add, and the UnrealEngine/Python directory under the users home directory.

Change 4010422 by Jamie.Dale

	Improved errror reporting during Python generation

	It will now ensure if a debugger is attached to draw programmer attention to an error.

Change 4010498 by Patrick.Boutot

	Remove unnecessary loop Timecode.ToFrameNumber()

Change 4011312 by Jamie.Dale

	Duplicate deprecated names will no longer assert during Python glue generation

	They will now log a warning and continue

Change 4012068 by JeanMichel.Dignard

	Allow to render thumbnails for newly created packages.
	- To render a thumbnail, you either need a customer thumbnail renderer or a cached thumbnail. Querying cached thumbnails fails for newly created packages because it calls DoesPackageExist which check on disk. This call is unnecessary since we're relying on FindPackage which only works for packages that are loaded in memory.

Change 4013781 by Jamie.Dale

	FFrame::KismetExecutionMessage (or LogRuntimeError or LogRuntimeWarning) will now produce Python exceptions

	You can use these to emit warnings or errors from UFunctions wrapped for scripting, and when called from Python they will produce a Python exception (for errors), or Python warning (for warnings).

Change 4014337 by Jamie.Dale

	Struct coercion now errors if you provide a sequence with too many elements

	This also makes sure that PyConversion doesn't set an error state if ESetErrorState::No is passed (which could have previously happened from type casting calls).

Change 4015290 by Andrew.Rodham

	Sequencer: Moved runtime functionality from ISequencerChannelInterface to IMovieSceneChannelInterface

	  - Rename IBatchChannelInterface to IMovieSceneChannelInterface
	  - Removed MovieScene::Dilate()
	  - Added TMovieSceneChannelTraits::SupportsDefaults to automatically stub out functions relating to channel defaults

Change 4015664 by Jamie.Dale

	Renamed ScriptMathOp meta-data to ScriptOperator

Change 4016230 by Jamie.Dale

	Fixed incorrect make/break path in Importance Sampling Library (for Importance Texture)

Change 4017326 by Jamie.Dale

	Added make and break support in Python

	Structs that have a native make function will now use this as their constructor. This also adds support for breaking a struct into a tuple, either via a native break function, or via generic property enumeration.

Change 4017551 by Jamie.Dale

	Removed redundant outer parameter from find/load_asset/package

Change 4018594 by Jamie.Dale

	Added ScriptMethodSelfReturn as an alternative to UPARAM(ref)

	These two function signatures produce the same behavior and have the same cost in Python, the only difference is how they appear to Blueprints (and Blueprints seem to favor non-reference functions).

	UFUNCTION(..., meta=(ScriptMethod))
	static void DoThing(UPARAM(ref) FThingType&, int32);

	UFUNCTION(..., meta=(ScriptMethod, ScriptMethodSelfReturn))
	static FThingType DoThing(FThingType, int32);

Change 4020956 by Anousack.Kitisa

	Added Shotgun to the Level Editor/World Outliner and Content Browser context menus when there's a selected actor or asset.

	#jira UEENT-1219

Change 4021986 by Anousack.Kitisa

	Used the Python startup scripts mechanism to launch the Shotgun bootstrap script.

	Related to Jira UE-57896.

Change 4022993 by Jamie.Dale

	Added support for extra operators on Python structs

	You can now expose bool conversion and comparison operators (==, !=, <, <=, >, >=) in addition to the previous set of math operators. As part of this there is now stricter signature validation when generating the Python binding.

Change 4023226 by Jamie.Dale

	Added Make and Break function for FSoftClassPath

Change 4023348 by Jamie.Dale

	Exposed some methods and operators for PrimaryAssetId and PrimaryAssetType

Change 4027911 by Jamie.Dale

	Cross-outer redirects are no longer applied in Python

	#jira UETOOL-1382

Change 4029618 by JeanMichel.Dignard

	Unreal Studio UX
	- Made "Unreal Studio" the default tab in the new project wizard if we're using an installed enterprise build.
	- Create new projects as enterprise projects if we're using an insalled enterprise build.

	#jira UEENT-1231, UEENT-796

Change 4030217 by Jamie.Dale

	Exposed ScopedSlowTask to Python

	#jira UETOOL-1375

Change 4030784 by Matt.Hoffman

	Sequencer curve editor now shows vertical axis labels.

	#jira UE-58160

Change 4030858 by JeanLuc.Corenthin

	Expose LOD creation thru Python:
	- Create one struct to hold onto reduction settings per LOD
	- Create one struct to hold onto an array of reduction settings and a parameter to enable of disable automatic computation of screen size
	- Create new method to apply reduction settings to an array of StaticMeshActors

	#jira UEENT-1232

Change 4032239 by Jamie.Dale

	Cleanup pass over wrapped structs

	- Code dealing with reflected structs now uses UScriptStruct rather than UStruct.
	- The old PyConversion::NativizeStruct and PyConversion::PythonizeStruct have been renamed to PyConversion::NativizeStructInstance and PyConversion::PythonizeStructInstance.
	- New PyConversion::NativizeStruct and PyConversion::PythonizeStruct functions have been added to convert an object (or Python type) to a UScriptStruct (akin to what PyConversion::NativizeClass and PyConversion::PythonizeClass does for UClass).

Change 4032247 by Jamie.Dale

	Cleaned up some Python slow task code

Change 4032251 by Jamie.Dale

	Added functions to get the Python type associated with an Unreal class, struct, or enum

Change 4032258 by Jamie.Dale

	Added Python iterators for Unreal objects, classes, and structs, as well as the Python types wrapped by Unreal classes or structs

	#jira UETOOL-1380

Change 4032320 by Jamie.Dale

	Fixed Python object iterators skipping their first item

Change 4032321 by Jamie.Dale

	Added Python iterators for actors and selected actors

	#jira UETOOL-1380

Change 4033908 by Anousack.Kitisa

	Added Shotgun settings for metadata tags.

	#jira UEENT-1175

Change 4033909 by Anousack.Kitisa

	Added wrapper function to sync Content Browser to assets for scripting.

	#jira UEENT-1218

Change 4034951 by Matt.Hoffman

	Media Tracks now highlight when added to a Sequence/UMG animation.

Change 4034966 by Jamie.Dale

	Added GIL locks around post_init code that can be called from C++

Change 4035019 by Matt.Hoffman

	UMG Render Transforms + Margins now support infinite sections.

Change 4035470 by Andrew.Rodham

	Introduced a common base class for all movie scene channel data, FMovieSceneChannel.
	Removed IMovieSceneChannelInterface.
	Renamed FMovieSceneChannelEditorData to FMovieSceneChannelMetaData.
	Renamed FMovieSceneChannel and TMovieSceneChannel to FMovieSceneChannelData and TMovieSceneChannelData, to make way for common channel base class.
	Renamed instances of 'specialized' channel editor data to 'extended' channel editor data.
	Introduced non-templated FMovieSceneChannelHandle and a templated version. Changed internal implementation to use a lookup rather than a directly resolved weak ptr.
	Various pieces of documentation and cleanup.

Change 4037112 by Max.Chen

	Sequencer: Added some missing RF_Transactional flags to newly created sections.

Change 4037121 by Max.Chen

	Sequence Recorder: Timecode recording

	Introduced an FSourceTimecode which is saved as editor only data to the MovieSceneSection and MovieScene. FSourceTimecode consists of an FFrameNumber delta that correlates the section's initial start time to an FTimecode. The FFrameNumber is adjusted whenever the section is moved.

	One use case for this is through sequence recorder, which captures the timecode at the start of recording and saves an FSourceTimecode per movie scene section it creates. If the section is moved, it can always be returned to its source timecode by the section's right click menu, "Sync to Source Timecode".

	#jira UESEQ-406

Change 4038462 by Jamie.Dale

	Added support for using Python callables with delegates

	All the "x_function" methods on delegates and multicast delegates now have an "x_callable" equivalent that take a Python callable (we attempt basic validation of the signature, but that only allows us to check the input argument count is what we expect).

	Internally the callable is wrapped in a UObject, so certain GC restrictions are present (and is why coercion is disabled for callables). Delegates wrapped in Python (including as a direct property of an object or struct, or inside a container) will be kept alive via the Python reference collection, however once there are no Python references left the proxy object will be allowed to die unless something external has taken a reference to the proxy object.

Change 4039123 by James.McNatton

	Remove dependency on SteamController in VirtualCamera #rb none

Change 4039162 by Jamie.Dale

	Fixed linter warnings about unescaped backslashes in docstrings

Change 4039170 by Jamie.Dale

	No longer expose deprecated functions or properties if they clash with another Python exposed item

Change 4039429 by Max.Chen

	Sequence Recorder: Swap to editor actors on end PIE if the actors to record were set to the PIE actors

Change 4039442 by Max.Chen

	Sequence Recorder: Find the existing object binding and record into it if it exists. When recording to an existing object binding, if the track exists, remove all animation data and reuse the track.

Change 4039477 by Jamie.Dale

	Added warnings for conflicting Python type and field names

Change 4039478 by Jamie.Dale

	Fixed warnings for conflicting Python type and field names

Change 4039511 by Max.Chen

	Sequencer: Remove all animation data for spawn track

Change 4040649 by James.McNatton

	Multiple Virtual Camera bug fixes
	- Removed QAGame mannequin from test map
	- Fixed errors being generated when trying to load preset
	- Presets now properly load and save axis settings
	- Deleted presets should no longer linger in menus
	- Presets now save and load favorite status

Change 4041356 by Max.Chen

	Sequence Recorder: Takes system

	#jira UESP-544

Change 4041589 by Jamie.Dale

	Added C++ source information (plugin, module, and file) to the Python doc string

Change 4041746 by Jamie.Dale

	Made ScriptOperator more relaxed about its signature validation as long as the additional input parameters are defaulted

Change 4041757 by James.McNatton

	Virtual Camera Bug Fixes
	- The Input Source dropdown now accurately reflects user selection
	- Input source changed to EditDefaultsOnly
	- Focus should no longer be set when the settings menu is open

Change 4041823 by Jamie.Dale

	Made ScriptOperator more relaxed about its signature validation for defaulted input parameters

	Existing Blueprint exposed operator functions may both default required arguments, and add additional default arguments. ScriptOperator will now accept both of these as long as there are enough arguments, but not too many non-defaulted arguments.


Change 4042956 by James.McNatton

	VirtualCamera bug fixes related to focus plane visualization
	- Removed extra focus plane that was being displayed
	- Added logic to adjust for nonuniform scaling of objects when settings up tracking focus

Change 4043400 by James.McNatton

	Multiple bug fixes related to saving various values
	- Now saves matte opacity and updates on load
	- Now saves filmback format name and updates on load
	- Now saves desired distance units and updates on load

Change 4043481 by James.McNatton

	Fixed issue in Virtual Camera where joystick movement would not properly apply locks after rotating #rb none

Change 4044358 by Jamie.Dale

	Fixed some cases where empty default values would be lost from UHT

	Eg, empty strings, null objects

Change 4044362 by Jamie.Dale

	Fixed old-style enums being missed by the Python glue generation if they're only referenced by a property of function

Change 4044371 by Jamie.Dale

	Fixed default value application for some struct types that use a custom default value format when exported by UHT

Change 4044417 by Max.Chen

	Sequence Recorder: Better default group names with an underscore separator for letters

Change 4045164 by Jamie.Dale

	Hardened usage of CopyScriptStruct to ensure that the source type is a child of the destination type, and that the destination type is used to copy (to still allow slicing of derived data)

Change 4045195 by Jamie.Dale

	Updated FPropValueOnScope::GetValue to be able to return the value for a particular array index

Change 4045589 by James.McNatton

	Fixed packaging error for VirtualCamera plugin
	- Plugin is now a runtime plugin rather than developer
	- Fixed up associated warnings with saving and loading in editor

Change 4046208 by James.McNatton

	Virtual Camera bug fixes
	- Adjusted how mattes and filmback works together
	- Should now always respond properly to changing filmback settings in UI
	- Should now match the correct view size within the matte under all circumstances

Change 4046372 by Max.Chen

	Sequencer: Fix subsequence binding ids.

	#jira UE-55337

Change 4046694 by Max.Chen

	Sequence Recorder: Compile the template before finding the camera sequence id since the precompiled template is not up to date.

Change 4046801 by Jamie.Dale

	Improved default values and return types used in the unreal.py stub file

	 - Object and Struct types generate an __init__ function with the correct signature.
	 - Struct __init__ functions list the correct default values (including when using make/break functions).
	 - Methods now list the correct default values.
	 - Get/Set getters return a value of the correct type.
	 - Get/Set setters are no longer exported for read-only properties.
	 - Constants resolve to the correct type and value.

	#jira UETOOL-1377

Change 4047023 by Jamie.Dale

	Added missing hook-up for % and %= in Python

Change 4047100 by Jamie.Dale

	Operators are now exposed to unreal.py and generate docs stating which overloads are available

Change 4047105 by Jamie.Dale

	String is now "str" in doc strings to match the Python type

Change 4047714 by Max.Chen

	Sequencer: Resolved merge conflicts with Dev-Sequencer

Change 4048150 by Jamie.Dale

	Fixed single-culture PO import/export failing

	#jira UE-47079

Change 4048653 by Andrew.Rodham

	Sequencer: Automatic re-evaluation is now suppressed for external changes that modified only default values on channels

	  - The issue is that moving an object that is partially-keyed in sequencer, with auto-key off, will set default values for the non-keyed channels. Doing so will dirty the sequence, which causes a re-evaluation, which re-evalutes the keyed channels, which effectively undoes the external change.
	  - This is now fixed by suppressing the automatic re-evaluation for a specific signature of a specific sequence, if that is the only thing that has dirtied the sequence. Any subsequent changes to the sequence will cause a re-evaluation, and the suppression to be wiped.

	#jira UE-57519
	#jira UE-58487

Change 4048814 by Jamie.Dale

	Fixed syntax error if an enum had an unknown value

Change 4048819 by Jamie.Dale

	Fixed struct init functions having the wrong default values

Change 4048856 by JeanLuc.Corenthin

	- Removed LOD & collision functions from UEditorLevelLibrary
	- Created a new class, UEditorMeshLibrary, to hold onto functionalities related to StaticMeshes
	  - Added method to set LODs on a static mesh
	  - Added method to remove LODs from a static mesh
	  - Added method to get number of LODs on a static mesh
	  - Added method to get number of simple collisions onto a static mesh
	  - Added method to get number of convex collisions onto a static mesh
	  - Added method to add convex collision onto a static mesh
	  - Added method to remove all collisions onto a static mesh

	#jira UEENT-1232
	#jira UEENT-1233

Change 4048961 by Jamie.Dale

	Improved formatting of output parameters in doc strings

	#jira UETOOL-1376

Change 4048988 by Jamie.Dale

	Fixed context leakage between the console and files, and import "unreal" by default now in the console

	#jira UETOOL-1379

Change 4049912 by Max.Chen

	Sequence Recorder: Minor recording group name improvements.
	- Initialize newly created actor group with existing actor group's base path.
	- When duplicating, use the current group's name as the base.
	- When typing in a name, if it fits the group format, the name should be allowable if it doesn't conflict with existing group names/assets.

Change 4049934 by Andrew.Rodham

	Sequencer: Minor clean-up of sequencer interfaces and overloads

	  - Replaced remaining instances of void* with FMovieSceneChannel* now that we mandate a common base class
	  - Changed remaining explicit calls to SetDefault to SetChannelDefault overload so it works correctly with the SupportsDefaults trait
	  - Exposed ability to manually implement an ISequencerChannelInterface rather than using the default templated one

Change 4050608 by conan.reis

	Was getting link error about use of FFrameTime in  ULevelSequencePlaybackController::PlayFromBeginning() in the VirtualCamera plugin so added TimeManagement to its dependant modules so it compiles again.

Change 4050899 by Max.Chen

	Sequencer: Allow actor components for synchronization

	#jira UE-58468

Change 4050900 by Max.Chen

	Sequence Recorder: Don't create a spawn section if the object is a possessable

	#jira UE-58272

Change 4050904 by Max.Chen

	Curve Editor: Fix for evaluation a section of time when one key is non-weighted and the other is weighted.  What we do is evaluate them both as being weighted, but we don't have the weight value for the non-weighted tangent. The weight of the non-weighted tangent is implicilty 1/3rd the distance between the two points, so we just calculate that if needed.

	#jira UE-58573

Change 4050905 by Max.Chen

	Curve Editor: When calculating vertical extents find feature points where slopes are zero and check them in addition to the keys if the curve is cubic. Curves now fit correclty vertically.

	Also changed fudge to 5% from 10% to match up old editor. Tighter fits seems better.

	#jira UE-58571

Change 4050972 by James.McNatton

	Added functions to ISequenceRecorder
	- Calling StartRecording with an empty array now triggers recording without clearning queued recordings
	- Added function to queue an actor to be recorded
	- Added function to check the next take number for a given actor when using groups

Change 4050994 by James.McNatton

	Bug fixes for Virtual Camera
	- Preset menu now shows dates in the timestamp
	- Resetting offsets now alerts the system to update UI

Change 4051431 by David.Hibbitts

	Added a component and blueprint library to access LiveLink data in blueprints which also works in editor.
	Deprecated LiveLink Driven component

	#jira UESP-577

Change 4051475 by Patrick.Boutot

	Rename EditorMeshLibrary
	Merge AssetScriptingUtilititesEditor with EditorScriptingUtilities. Add Redirects.

Change 4051558 by Patrick.Boutot

	EngineCustomTimeStep returns true when we also want to perform the default engine code.

Change 4052106 by Andrew.Rodham

	Sequencer: Adding an example that creates a sequence out of the current editor selection

Change 4052205 by Anousack.Kitisa

	Fixed selected asset paths referenced by selected actors when using context Shotgun menu.
	Added function to retrieve the work area directory for Shotgun.

	#jira UEENT-1220

Change 4052951 by James.McNatton

	Virtual Camera Sequence Recorder updates to integrate new take system
	- Takes no longer display unless sequence recorder has a group selected
	- Adjusted fix to packaging error
	- FPS value will no longer appear if sequence recorder isn't available

Change 4053130 by mason.seay

	Updated Game Mode Override

Change 4053273 by James.McNatton

	Virtual Camera cleanup adjustments

Change 4053627 by Max.Chen

	Sequencer: Disable bind sequencer to PIE/simulate while recording.

Change 4053628 by Max.Chen

	Sequence Recorder: Fix target animation not persisting

	#jira UE-58508

Change 4053871 by Max.Chen

	Image Plate: Fix icon path

Change 4054370 by Patrick.Boutot

	Remove LiveLink warning. Create base a class for FLiveLinkFrameRate as suggested in GenericPlatformCompilerPreSetup.h

Change 4054447 by Darren.Pegg

	AJA low level device API
	Blackmagic low level API
	MediaIOCore changes to support AJA/Blackmagic changes
	AJA Module converted to use MediaIOCore
	Blackmagic Module changes for MediaIOCore
	Blackmagic/AJA Binary files

Change 4054769 by Patrick.Boutot

	Packaging error issue introduce with CL 4054370.

	#jira UE-58749

Change 4055443 by Max.Chen

	Sequencer: Fix crash in adding filler shot

	#jira UE-58767

Change 4056577 by JeanMichel.Dignard

	Fixed crash with automation tests.
	We would bind the default UEditorEngine to Automation and on map load, it would call PIE on GEditor but with recent changes, PIE is called on this and the default UEditorEngine is not initialized so it would crash with a null GameViewportClass. Now we'll bind Automation on UEditorEngine InitializeObjectReferences so that we're in a good state and it's only called for GEditor.

	#jira UE-58792

Change 4057238 by Jamie.Dale

	Fixed crash when renaming Python generated classes or structs

Change 4058435 by Jamie.Dale

	Fixed lingering exception state when converting a dict to a struct

Change 4058486 by mason.seay

	Removed remote.host call from map

[CL 4060164 by JeanMichel Dignard in Main branch]
2018-05-09 10:24:50 -04:00
Simon Tourangeau
19f8663b5a Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 3972172)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3821754 by Jamie.Dale

	[Python] Class property conversion now goes through NativizeClass/PythonizeClass

	This allows it to coerce from Python wrapped object types

Change 3833107 by Patrick.Boutot

	Added functions to fill an existing DataTable from an existing CSV/JSON file.

Change 3835044 by Aaron.Carlisle

	Exposure for asset_import_data (editor property) and it's functions: extract_filenames and get_first_filename.

Change 3835466 by Patrick.Boutot

	Hide function from Python that need special compile command to be executed by the VM.

Change 3839237 by Jamie.Dale

	Added a way to inspect the full chain of properties that are currently being serialized by an archive

	You used to only have access to the leaf-most property, and while you could use its outer chain to inspect other properties within the same object/struct, you couldn't always get the full chain (eg, if you had an object containing a struct).

Change 3839974 by Jamie.Dale

	Make sure that SerializedProperty is copied correctly, as SetSerializedPropertyChain may set it to something else

Change 3842311 by Jamie.Dale

	Fixing potential null level assert

Change 3842313 by Jamie.Dale

	Updated settings editor to handle external properties

Change 3842316 by Jamie.Dale

	Allowing a console command to be given to GEditor/GEngine even if there's a player

	CL# 1848982 said it was to prevent multiple execution of stat commands, however that no longer seems to be an issue.

Change 3842867 by Jamie.Dale

	Added a way to generate diffs from editor transactions

	The notifications from these diffs are send to UObject::PostTransacted and FCoreUObjectDelegates::OnObjectTransacted.

	These notifications are typically generated when a transaction is "finalized", but can also be generated from "snapshots" (eg, to trap nodes being dragged in the world). They're also generated from normal undo/redo events.

Change 3844428 by Patrick.Boutot

	Move the SetMaterial code from the StaticMeshEditor to StaticMesh to be reusable by script.

Change 3845966 by Jamie.Dale

	Added support for minimal game RPC worlds

	These can be created in the editor and engine and exist to allow RPC communication via Unreal Networking in a way that is sandboxed from any other worlds that may be loaded (like the main game world)

Change 3848844 by Patrick.Boutot

	Expose EComponentMobility to blueprint.

Change 3854616 by Patrick.Boutot

	Add Custom way time step the engine loop. Will be used by the Synchronization of media for enterprise.

Change 3856650 by Jamie.Dale

	Fixed a bug where transaction finalization could miss changes since the last snapshot

Change 3864951 by Patrick.Boutot

	Fix ghost asset in Content Browser when an asset is added and renamed before the RecentlyAddedAssets list had a chance to be processed.

Change 3867158 by JeanMichel.Dignard

	UBT
	- Added the ability for dll programs to export symbols.

	#jira UEENT-541

Change 3872342 by Jamie.Dale

	Merging static analysis fixes from 4.19

Change 3879305 by Jamie.Dale

	Improved the processing of py files from exec commands

	The old logic used to just test if the entire command was a .py file. The new logic extracts out the first token and sees if that's a .py file, and if it is, treats the remaining data as extra arguments.

Change 3879306 by Jamie.Dale

	Added a minimal commandlet for invoking Python scripts

Change 3881631 by Jamie.Dale

	Added basic RTTI to Python meta-data types

Change 3885384 by Jamie.Dale

	[Python] Prevent glue code using reserved names

Change 3888957 by Patrick.Boutot

	In MediaPlayer, only create a PlayerFacade & Playlist when it's not a ClassDefaultObject.
	The MediaPlayerFacade is a MediaTickable. That trigger the tick thread to be awake even if there is no Media playing.

Change 3888961 by Patrick.Boutot

	Fix FInterval::IsValid return type.

Change 3888980 by Patrick.Boutot

	Modification to Media and MediaAsset to support MediaSmith. The TInterval<int64> will be changed into TTinterval<FTimespan> UEENT-947. MediaSampleQueue's critical section will be change into an atomic operation UEENT-948.

Change 3889165 by Patrick.Boutot

	Fix build. Missing include for Timespan. Introduce with CL 3888980.

Change 3889261 by Jamie.Dale

	[Python] Fixing some more name conflicts in generated code

Change 3889504 by Darren.Pegg

	Add option to change PreferredPixelFormat

Change 3891193 by Patrick.Boutot

	Fix build. Missing include for Interval. Introduce with CL 3888980.

Change 3897108 by Patrick.Boutot

	TTinterval use it own traits. Create a Interval traits for Timespan.
	#jira UEENT-947

Change 3899669 by Jamie.Dale

	Fixed Functions sometimes being exposed to Python as if they were Structs

Change 3900692 by Jamie.Dale

	Removed some boilerplate associated with wrapping a basic type to Python

	You can now derive from TPyWrapperBasic to wrap a type that is simply a value copied into Python (see FPyWrapperName and FPyWrapperText for an example)

Change 3901066 by conan.reis

	UE4 editor script bindings (Cobra) and helper functions for version control
	- exposed SourceControl class with common source control methods and associated SourceControlState structure
	- commands have smart file strings that can convert from any of fully qualified path, relative path, long package name, asset path or export text path (often stored on clipboard)
	- commands store any errors in a shared error text object which is optionally printed to the error log
	- renamed some calls across the UE4 codebase to USourceControlHelpers::CheckOutOrAddFile() from USourceControlHelpers::CheckOutFile()
	- included Python test script for source control commands including that auto-creates test files as needed and passes various types of files to test as command line arguments. Any unexpected results displays error messages.

Change 3901388 by Jamie.Dale

	Minimal Slate hooks for Python

Change 3901456 by Jamie.Dale

	Added missing file

Change 3901549 by Jamie.Dale

	Removing some more Windows defines that were causing build issues

Change 3904518 by conan.reis

	Source Control
	- ensured that "check if modified" flag is set whenver getting source control state in USourceControlHelpers::QueryFileState() which was needed when using Perforce source control provider

Change 3905612 by Francis.Hurteau

	Optimize RemoveDuplicates somewhat using a TSet
	#jira UEENT-217

Change 3912626 by Jamie.Dale

	Fixed ShouldExcludeDerivedClasses option not working

	RecursiveClassesExclusionSet requires a base ClassNames entry to operate on when filtering.

Change 3917739 by Jamie.Dale

	Output Log suggestions list is now clamped to the work area width of the monitor that hosts the widget

Change 3917744 by Jamie.Dale

	Changed generated code to reference the UProperty and UFunction directly, rather than constantly look them up by name

	Names were originally used because UHT couldn't access the objects when it registered the glue code, but now that we generate at runtime via reflection, we already have the relevant objects available, and caching them the glue structs helps performance at both generation time and runtime.

Change 3918832 by Jamie.Dale

	Removed field iteration from Python function calls

	We now cache the input and output parameters for all function calls (methods, get/set, and delegates) and use this rather than iterate the struct fields.

Change 3920648 by Patrick.Boutot

	Remove the bottom right part of the windows border of the grabbed frame when in the editor. Tested in the standalone, windowed and full screen.
	Add option to request a FlushOnDraw on the viewport. Flushing in SDI output flow decreases the performance by ~10ms. SDI output is synchronized and the engine tick follows that synchronization.

Change 3921396 by Jamie.Dale

	Split up the generated type data to correspond to the type being wrapped

	A lot of types can just use the minimal set, but classes and structs have some extra data.

Change 3921619 by conan.reis

	- add delegate to FSourceControlWindows::ChoosePackagesToCheckin() that gives info for result, result description, files added, files checked in and flag indicating whether files were checked out again.
	- also added result info to FSourceControlWindows::PromptForCheckin()

	#jira UE-55255

Change 3921624 by conan.reis

	Removed Source Control common files from pre compiled header
	- main changes are in UnrealEdPrivatePCH.h, UnrealEdSharedPCH.h, SouceControlWindows.h and the added SouceControlWindows.cpp
	- remaining files have includes changed to accomodate

Change 3921958 by conan.reis

	Fix attempt for incude file dependency needed by some build configurations (likely PCH disabled) caused by CL3921619

Change 3922740 by conan.reis

	Included SourceControlOperations.h and SourceControlHelpers.h back in ISourceControlProvider.h though it does not need them since other files that were including ISourceControlProvider.h have come to expect their inclusion.
	They were previously removed in CL3921624

Change 3923375 by Jamie.Dale

	Added optimized FString <-> icu::UnicodeString conversion for platforms using UTF-16 native strings

Change 3926547 by Jamie.Dale

	Added support for struct method "hoisting"

	This allows you to tag a helper function that takes a struct as its first argument with the ScriptMethod meta-data (optionally providing a new name) to "hoist" that helper function to be a method of the struct it operates on when wrapped for Python.

Change 3927050 by conan.reis

	Source control - ensured that  ISourceControlProvider::Execute(FConnect, EConcurrency, FSourceControlOperationComplete) delegate is called on initial connection even if it fails immediately. Modified Perforce, Git and Subversion source control providers

	#JIRA UE-55256

Change 3929268 by conan.reis

	- fixed case in Perforce source control code where the server available flag was set even when the server was not successfully connected
	- removed Perforce error message about file folders outside of the workspace client mappings
	- clarified comments for ISourceControlProvider::IsEnabled() and ISourceControlModule::IsEnabled()

	#JIRA UE-55254

Change 3931024 by Rex.Hill

	Expose FBX and Texture import to python

Change 3931273 by Rex.Hill

	Hide re-import slate notification pop-up during python automated asset import

Change 3931368 by Jamie.Dale

	Stopped bools coercing to numeric types in Python nativization

Change 3931374 by Jamie.Dale

	Added support for struct math operator "hoisting"

	This allows you to tag a helper function that takes a struct as its first argument with the ScriptMathOp meta-data (providing a potentially semi-colon separated list of operators to map to) to "hoist" that helper function to be a math operator of the struct it operates on when wrapped for Python.

Change 3932586 by Rex.Hill

	Removed file read into unused memory buffer during Fbx import

Change 3934308 by Jamie.Dale

	Added a public interface for the Python plugin

	Very basic, just lets you query if Python is compiled in, and lets you execute Python commands like you would via the Output Log.

Change 3935088 by conan.reis

	- Added info/warning and error message storage to all the source control operation structures so additional information can be made available.
	- Added ISourceControlOperation::GetResultInfo() which returns the modified control structures (mentioned above) with appended info/warning messages and error messages and implemented its use in all source control operations in Perforce, Git and Subversion.

	#JIRA UE-55257

Change 3936668 by Rex.Hill

	#jira UE-55985
	Avoid re-allocation of memory buffer holding file bytes during asset import

Change 3940596 by Rex.Hill

	#jira UE-55989 Optimize skeletal mesh import performance scaling

	Overlapping vertex check was O (N^2)
	100k vertex mesh took ~15 seconds to perform overlap step now takes 0.023 seconds

Change 3942629 by Rex.Hill

	#jira UE-55995 Read fbx file only once during import

	Fixes a memory leak of FbxScene and reduces wait time during import.

Change 3942884 by Rex.Hill

	Python asset import can now customize destination asset name

Change 3946278 by Jamie.Dale

	Added stricter conversion for math operator arguments

	PyConversion now returns FPyConversionResult rather than bool, which will tell you not only whether a conversion succeeded or failed, but also whether type coercion was applied during the conversion.

	This allows the operator stack evaluation to run a first pass looking for an exact argument match, before falling back to a coerced match if available. This allows operators to apply correctly to coerced types (eg, int vs float overloads).

Change 3948455 by Jamie.Dale

	Added generic Tick function to FPythonScriptPlugin

	This can also handle init logic for after the engine is fully initialized

Change 3948888 by Jamie.Dale

	Added settings for the Python plugin

	You can now define start-up scripts to execute once the engine is initialized, additional system paths for Python, and whether you want to enable developer mode (which will enable things like deprecation warnings).

Change 3948982 by Jamie.Dale

	Fixed Python 3 build error caused by CObject being removed in Python 3.2

Change 3949614 by Francis.Hurteau

	Create a camera cut track from the camera switcher camera index animation curve when importing a fbx in sequencer
	#jira UEENT-1053

Change 3950829 by Rex.Hill

	Update error message to be more specific when ENGINE_API keyword is found before 'static' keyword for a UFUNCTION

Change 3953452 by Jamie.Dale

	Fixed some dependencies

Change 3953645 by Jamie.Dale

	Fixed Python parameter packing treating bool output paramers as potential return values

	void GetState(bool& OutState) would have previously triggered the code for packing output for a function that returns a bool.

Change 3953850 by Jamie.Dale

	Fixed doc string generation for a function with multiple output paramters and no return value

Change 3954279 by Jamie.Dale

	Initial support for exposing deprecated properties and functions to Python

	This handles properties and functions that are directly deprecated. We still need to handle the cases where they're renamed and a redirector is left.

Change 3954922 by Rex.Hill

	Expose UnloadPackages to python

Change 3955209 by Jamie.Dale

	Initial support for exposing deprecated classes to Python

Change 3955248 by Jamie.Dale

	Added a way to load Unreal modules via Python

	unreal.load_module("modulename")

Change 3955561 by Rex.Hill

	Expose asset export to python

Change 3956068 by Rex.Hill

	Linux compile fix.

Change 3960449 by Rex.Hill

	Fix automated test using bCombineMeshes

Change 3960495 by Patrick.Boutot

	Add a temporary menu to show the MetaData of an asset.
	The menu will need to be updated to have a look and feel of the Detail View and support edition at one point.

Change 3961599 by Rex.Hill

	Reduced peak memory during import of meshes related to duplicate vertex tracking

Change 3962104 by Rex.Hill

	Disable import mesh overlapping corners memory optimization to because it can change uv generation

Change 3962507 by Rex.Hill

	Fix uv generation

Change 3965285 by Rex.Hill

	Add support for FBX export as ASCII
	#jira UE-56465

Change 3965287 by Rex.Hill

	Forgotten file, fbx export as ascii

Change 3966772 by Simon.Tourangeau

	Fix MaterialExpressionFunctions for ExternalTexture support

Change 3967014 by Jamie.Dale

	Added a way to get the CDO in Python

	Wrapped objects now have a get_default_object class method

Change 3967151 by Jamie.Dale

	Added stats to track Python generation time

Change 3968006 by Simon.Therriault

	Media Samples

	- Removed Locks and Min/Max SampleTime from queues
	- Added methods to fetch NextSampleTime and SampleCount in queues
	- Added MediaSource base class for players that want to be time synchronized

	#jira UEENT-948

Change 3969119 by Patrick.Boutot

	Add delay functionnality to MediaPlayer to delay the frame by some time. It will allow more than one player to be start at the same time, played at the same frame but offset in relation to each other.

[CL 3972277 by Simon Tourangeau in Main branch]
2018-03-29 13:32:35 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Simon Tourangeau
614ad8db40 Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 3797699)
#lockdown Nick.Penwarden
#rb JeanMichel.Dignard

============================
  MAJOR FEATURES & CHANGES
============================

Change 3770717 by Simon.Tourangeau

	Fix Blank Enterprise template project creation

Change 3773186 by Simon.Tourangeau

	Fix asset migration to correctly handle the migration of content from Content Plugins

Change 3773230 by JeanLuc.Corenthin

	Adding new material asset for CAD importer
	Removing old material assets for CAD importer

Change 3774391 by JeanMichel.Dignard

	Added support for IES asymmetrical light profile
	- IES textures are now 2D (256*256) and the shader will use the light tangent to sample the texture.
	- Point light tangent is now the Z axis to match the spot lights. Tube shaped point lights will be automatically rotated to compensate for this change. Dynamically generated point lights with a source length will need to have a 90 degrees pitch added to their orientation.

	#jira UEENT-55

Change 3775668 by JeanMichel.Dignard

	Fixed linux and mac editor builds. Use FVector::DotProduct instead of Dot3 since we're using FVectors.

Change 3781147 by Jamie.Dale

	[Python] Prevent the Xcode version of Python being used by default

Change 3781991 by JeanMichel.Dignard

	Send the IES texture profile to lightmass in a separate TArray to fix warning 6262 about using too much stack during static analysis.

Change 3783479 by Simon.Tourangeau

	Fix NewProjectWizard crash if starter content was enabled

	#jira UEENT-635

Change 3784279 by Jamie.Dale

	[Python] Added ScopedEditorTransaction and an editor specific module

Change 3787566 by JeanLuc.Corenthin

	Fixed issue with display of units which were not reflecting the project settings when enbling unit display.

	Got Jamie Dale to help me find the correct solution to this problem: a lambda function.

	Thanks, Jamie!

Change 3788178 by Martin.Sevigny

	Make sure that FLightPropagationVolume is properly initialized before using it. Can currently trigger a check in  FProjectedShadowInfo::SetupWholeSceneProjection because of an uninitialized BoundingBox if LPVIntensity is saved at 0.

	Solves: https://udn.unrealengine.com/questions/354040/switching-gi-lpvs-at-runtime.html

Change 3788301 by JeanLuc.Corenthin

	On behalf of Anousack:

	UE assets necessary to properly handle Cropped procedural textures.

	#jira UEENT-522

Change 3789146 by Martin.Sevigny

	Bringing back the LPVIntensity test as per MarcusW review.

Change 3789467 by Patrick.Boutot

	Add Analytics to PythonScriptPlugin.

Change 3789473 by Patrick.Boutot

	Add a slow task dialog when executing a Python script.

Change 3790809 by Patrick.Boutot

	Add GIsRunningUnattendedScript. If true, we are running an editor script that should not prompt any dialog modal. The default value of any model will be used. This is used when running a Blutility or script like Python and we don't want an OK dialog to pop while the script is running. Could be set for commandlet with -RUNNINGUNATTENDEDSCRIPT

Change 3790970 by Patrick.Boutot

	Add SavePackages with Dialog version in EditorLoadingAndSavingUtils. Refactor some internal save & checkout function in FileHelpers to prevent dialogs from showing when it was not requested.

Change 3790976 by Patrick.Boutot

	Add RenameAssetsWithDialog to AssetTools. All previous implementation now use the WithDialog version.
	Allow DeleteObject & DuplicatedAsset to be completed without dialog.

Change 3791597 by Simon.Tourangeau

	Fix custom window positions in "windowed mode"

	#jira UE-52873

Change 3791633 by Patrick.Boutot

	Expose to Blueprint the actor' label and folder path.

Change 3791634 by Patrick.Boutot

	Change size of the OutputLog's SuggestionList box.

Change 3791637 by Patrick.Boutot

	Make sure the suggestions panel is closed before executing the command. Some command wants to run dialog and the suggestions panel may prevent it from opening.

Change 3791661 by Jamie.Dale

	[Python] Fixed a bug where we could return an object of the incorrect type from the cache

	This could happen if the same instance pointer actually represented two different things, such as when a struct had a different struct as its first member as both of those have the same address, but reflect two different things.

	We now treat the type as significant in the cache, and only return something if it matches both the instance and the type.

	#jira UEENT-651

Change 3794968 by Patrick.Boutot

	Extend File menu to include Python menu. Save the last 10 scripts executed in the user config.

Change 3795084 by Jamie.Dale

	[Python] Added a way to purge all references to a given UObject (or set of UObjects) from any living Python objects

Change 3795324 by Jamie.Dale

	[Python] Ensure that Python objects referencing the current world/level are purged when the active world/level is changed

	This is needed to avoid a fatal assert about a GC leak

	#jira UEENT-658

Change 3796248 by Jamie.Dale

	FilterAssetDataWithNoTags no longer implicitly removes localized assets


Change 3773185 by Simon.Tourangeau

	Move DatasmithImporter plugin content to a content-only plugin under Engine/Plugins/Enterprise/DatasmithContent

	This makes it possible to load content created with the DatasmithImporter without having access to Enterprise plugins.

	#jira UEENT-544

Change 3790982 by Patrick.Boutot

	Set GIsRunningUnattendedScript to EditorScriptUtilities callable functions.
	Load level without a prompt.

Change 3791539 by Jamie.Dale

	[Python] Added ScriptName and ScriptNoExport meta-data to allow control over how things are exposed to scripts

	ScriptName can be used to override the basic name we use when converting classes, structs, enums, properties, and functions to their Python names. It has been used here to remove all the K2_ and BP_ prefixes, and to remove Kismet and Blueprint from some library names.

	ScriptNoExport can be used to prevent a property or function from exporting to Python. It has been used here to prevent exporting some deprecated functions that had names that would conflict if we stripped off the K2_ prefix of some newer functions (there were only a handful of these cases).

Change 3773163 by Patrick.Boutot

	Improve ConvertActors implementation. Check if the StaticMesh path is valid and do not use dialog in the case we are converting a Brush to a StaticMesh.

Change 3776401 by Patrick.Boutot

	Add function to spawn and destroy an actor in editor mode. Spawn use the Place functionality of the editor, you can spawn from an asset, class, archetype or factory.

Change 3778137 by Patrick.Boutot

	Add 2 functions to EditorAssetLibrary. GetPathNameForLoadedAsset, wrapper for UObject.GetPathName(). FindPackageReferencersForAsset similar to AssetRegistry.FindPackageReferencer. It will load the assets and all the referencers to confirm the reference.
	EditorAssetLibrary now support full path.

Change 3778139 by Patrick.Boutot

	Update example data for EditorScriptingUtilities.

Change 3778768 by Patrick.Boutot

	Update EditorScriptingUtilities py file with the new naming convention.

Change 3779291 by Patrick.Boutot

	Remove const& on TSubLassOf because Blueprint do not show the Pick tool  with it.
	Update py script & blueprint to point to the new paths.

Change 3783246 by Patrick.Boutot

	After review. Tech art prefer to have a filter that check the class and not have the class pass as argument for GetAllLevelActor.
	Fix return type in Blueprint for SpawnActorFromClass.

Change 3789367 by Patrick.Boutot

	Gets all TagValues associated with an asset as strings value.

Change 3789438 by Patrick.Boutot

	Split EditorLevelLibrary into EditorFilterLibrary. All filter function are now in their own modules.

Change 3789489 by Patrick.Boutot

	Update script examples with copyright and with the split from EditorFilterLibrary.

Change 3790980 by Patrick.Boutot

	Prevent all dialog modal from showing up when running a Python script via command line.

Change 3790984 by Patrick.Boutot

	Fix typo in content_browser.py. Delete asset with the loaded version. Fix double values initialized by float.

[CL 3797855 by Simon Tourangeau in Main branch]
2017-12-08 16:18:46 -05:00