Commit Graph

134 Commits

Author SHA1 Message Date
Jamie Dale
964231997f Defer the OnPythonInitialized notification until after start-up scripts have run
This delegate was previously useless as it would run when the PythonScriptPlugin module was loaded, which meant that no-one could bind to it

#rb none

[CL 10795922 by Jamie Dale in Main branch]
2019-12-18 10:30:26 -05:00
Jamie Dale
93b10e9d9c Python FProperty fixes
- Fixed Python container wrappers leaking transient property instances.
   - PyUtil::TPropOnScope will manage an optionally owned property instance, deleting it if required when it goes out-of-scope.
 - Fixed Python container wrappers crashing during GC due to calling FReferenceCollector::AddReferencedObjects passing a FProperty-based type.
 - Fixed Python delegate wrappers crashing when called with arguments due to checking Children rather than ChildProperties.

#rb Robert.Manuszewski
#rnx

[CL 10791312 by Jamie Dale in Main branch]
2019-12-18 08:41:22 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
jamie dale
26c86de3f2 Fixed some issues that caused the unreal.py stub file to have syntax errors
We require this file to be error free in order to generate the Python API docs

#jira UE-85176
[FYI] Robb.Surridge
#rb Conan.Reis
#lockdown Cristina.Riveron
#rnx

#ROBOMERGE-SOURCE: CL 10476637 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236)

[CL 10476638 by jamie dale in Main branch]
2019-11-27 17:12:25 -05:00
marc audy
c9c4908ac1 Merging CL# 9893571 as it should not have been deadended
#rb
#rnx


#ROBOMERGE-SOURCE: CL 9900920
#ROBOMERGE-BOT: (v558-9892490)

[CL 9900943 by marc audy in Main branch]
2019-10-31 11:25:06 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Jamie Dale
764efecd41 Improved invalid parameter error when passing the incorrect struct type to Python
#rb none

[CL 9493857 by Jamie Dale in Main branch]
2019-10-09 16:59:44 -04:00
Jamie Dale
7ab6307cac Fixed typo when accessing property class type during Python glue validation
#fyi Robert.Manuszewski
#rb Robert.Manuszewski
#rnx

[CL 9489709 by Jamie Dale in Main branch]
2019-10-09 12:40:55 -04:00
Jason Bestimt
a530f72f7d Updating from //UE4/Dev-RenderPlat-Staging to Dev-VR (//UE4/Dev-VR) to turn on robomerge
#RB:none

[CL 9106247 by Jason Bestimt in Dev-VR branch]
2019-09-25 16:05:50 -04:00
ben marsh
e1deccdab4 Fix crash building a monolithic editor executable due to global constructors creating UObject instances before the UObject subsystem has been initialized.
#jira
[FYI] Jamie.Dale


#ROBOMERGE-SOURCE: CL 8988509 via CL 8988522
#ROBOMERGE-BOT: (v441-8974111)

[CL 8991871 by ben marsh in Main branch]
2019-09-23 16:43:24 -04:00
joe conley
dd22bf997f Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main) [at] 8782600
#rb
#rnx

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 8783278 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v427-8887818)

[CL 8891540 by joe conley in Dev-VR branch]
2019-09-19 13:46:18 -04:00
Marc Audy
8df336162c Copying //UE4/Dev-Anim to Dev-Main (//UE4/Dev-Main) @ 8782600
#rb
#rnx

[CL 8783278 by Marc Audy in Main branch]
2019-09-17 19:12:19 -04: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
jeanmichel dignard
e7d36d874a Put back CanContainContent: true in PythonScriptPlugin as it's required to parse the python scripts in the content folder.
#jira UE-79509
#rb none
#rnx
[FYI] Bob.Tellez

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jeanmichel.dignard
#ROBOMERGE-SOURCE: CL 8384193 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v404-8404397)

[CL 8467487 by jeanmichel dignard in Dev-VR branch]
2019-09-04 04:55:19 -04:00
bob tellez
108e12e978 #UE4 Disable CanContainContent in a few plugins that have no assets or maps so they dont appear in the content browser.
#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 8352044 via CL 8359277 via CL 8360258
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v404-8404397)

[CL 8451507 by bob tellez in Dev-VR branch]
2019-09-03 21:08:55 -04:00
Joe Graf
041782c74a MERGE: Fixed the order that the return value is pushed into the list of parameters for a UFunction that maps to a Python function without a native super function backing it
- This fixes out params being at the wrong offsets causing the copy of the data to look at the wrong locations

#rb: merge

[CL 8385886 by Joe Graf in Dev-VR branch]
2019-08-30 14:39:50 -04:00
JeanMichel Dignard
8fd3d991e1 Put back CanContainContent: true in PythonScriptPlugin as it's required to parse the python scripts in the content folder.
#jira UE-79509
#rb none
#rnx
#fyi Bob.Tellez

[CL 8384193 by JeanMichel Dignard in Main branch]
2019-08-30 11:48:45 -04:00
bob tellez
bd41767067 #UE4 Disable CanContainContent in a few plugins that have no assets or maps so they dont appear in the content browser.
#ROBOMERGE-SOURCE: CL 8352044 via CL 8359277
#ROBOMERGE-BOT: (v401-8057353)

[CL 8360258 by bob tellez in Main branch]
2019-08-27 22:01:54 -04:00
Joe Graf
d6b06b64f8 MERGE: Fixed Python defined ufunctions having the parameters reversed due to how properties are added to functions
#rb: merge

[CL 8232114 by Joe Graf in Dev-VR branch]
2019-08-23 14:01:22 -04:00
Joe Graf
75d6f5c607 MERGE: Removed the find field to determine if a function is already present in the python class' hierarchy
#rb: merge

[CL 8214007 by Joe Graf in Dev-VR branch]
2019-08-22 15:09:19 -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
Joe Graf
88114ef439 MERGE: Fixed python UFunctions not showing up in the owning UClass' field list due to missing link list insertion
#rb: merge

[CL 8213980 by Joe Graf in Dev-VR branch]
2019-08-22 15:07:39 -04:00
jamie dale
025f1e6e6c Fixed crash calling Python UObject function override with no args
#jira UE-75449
#rb Tim.Gautier
#rnx
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 8096673 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8096712 by jamie dale in Main branch]
2019-08-16 14:33:27 -04:00
jamie dale
d4ccda63a2 Fixed localization gather warnings
#jira
[FYI] Michelle.Zhao
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 8030368 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v398-8029740)

[CL 8030370 by jamie dale in Main branch]
2019-08-14 10:39:15 -04:00