Commit Graph

83 Commits

Author SHA1 Message Date
Wes Hunt
cdb8ce4da3 Removed #if 0'd out include of GeneratedScriptLibraries.inl because it was being regenerated between builds of UE4Editor and QAGameEditor, causing the build system to balk at the build product files being tampered with.
#codereview:robert.manuszewski

[CL 2664878 by Wes Hunt in Main branch]
2015-08-21 16:11:24 -04:00
Andrew Rodham
1bb27e3999 Added customization for FAssetImportInfo
- FAssetImportInfo is now marked as USTRUCT and is stored as a member value on UAssetImportData rather than using inheritance. This makes customization writing much easier and better affords UObject interoperability.
 - Removed UAssetImportData::bDirty as it was only every used to enable/disable a button on the static mesh editor, and its presence caused confusion and inconsistency.
 - Fixed issue where timestamps did not get updated correctly
 - Fixed various reimport paths that were not updating their source file information correctly.

This addresses UETOOL-466 and UE-16406.

[CL 2646395 by Andrew Rodham in Main branch]
2015-08-06 10:04:50 -04:00
buildmachine
ce42430211 Code documentation from CL#2636592
[CL 2636758 by buildmachine in Main branch]
2015-07-29 07:47:34 -04:00
Marc Audy
a916b98145 Put back the bAutoActivates = true. While most are unnecessary, working out the fallout from a fairly cosmetic change isn't worth it.
[CL 2584181 by Marc Audy in Main branch]
2015-06-11 10:20:48 -04:00
Marc Audy
0f4127872b Clean up cases where bAutoActivate was simply being used to ensure ticking didn't get disabled
[CL 2580373 by Marc Audy in Main branch]
2015-06-08 16:09:27 -04:00
Andrew Rodham
30036469e8 Added code to ensure that AssetImportData is valid in the editor, and added null checks for code that can be executed outside of the editor.
This further addresses UE-16277.

[CL 2570490 by Andrew Rodham in Main branch]
2015-05-29 10:29:46 -04:00
Andrew Rodham
93e71b9e6a Unified asset import data across all asset types.
The majority of asset reimport machinery is now held within UAssetImportData and FAssetImportInfo. This change allows us to remove the CachedAssetsBySourceFileName map from FAssetRegistry that was previously added to support auto reimport for 4.7.

The functionality of CachedAssetsBySourceFileName has been wrapped up in FAssetSourceFilenameCache, which sits on top of the asset registry in the editor.

This unification allows us to also consistently store the file timestamps and MD5 hashes of imported files. This subsequently allows auto-reimports to be ignored where a source content file has not actually changed (its MD5 is the same).

This addresses UETOOL-365 - Rework AssetRegistry changes to support auto-reimport

[CL 2567286 by Andrew Rodham in Main branch]
2015-05-27 16:16:21 -04:00
Marc Audy
20cc3e92bc Fix ScriptFactory not returning created blueprint
#codereview Mike.Fricker, robert.manuszewski

[CL 2507098 by Marc Audy in Main branch]
2015-04-09 14:34:41 -04:00
Mike Fricker
ec15c0eacb Updated the example Lua integration to use Lua 5.3.0 (latest version)
#codereview robert.manuszewski

[CL 2501082 by Mike Fricker in Main branch]
2015-04-03 09:51:07 -04:00
Mike Fricker
4de6cbb30c Fixed assertion when reimporting assets for script plugin components
#codereview robert.manuszewski

[CL 2501080 by Mike Fricker in Main branch]
2015-04-03 09:50:51 -04:00
Robert Manuszewski
3776de4720 Fixing CIS - temporarily disabling script plugin integration. Script pluging should be a game-only plugin.
[CL 2493422 by Robert Manuszewski in Main branch]
2015-03-27 05:06:21 -04:00
Robert Manuszewski
30c9c30f7a ScriptGeneratorPlugin will now be disabled by default. Projects can opt-in by enabling it in their uproject file.
[CL 2493289 by Robert Manuszewski in Main branch]
2015-03-27 03:51:19 -04:00
Ben Marsh
3a60bc6a71 Stop excluding ScriptPlugin and ScriptGeneratorPlugin from Rocket builds.
#codereview Robert.Manuszewski

[CL 2486624 by Ben Marsh in Main branch]
2015-03-20 15:42:04 -04:00
Robert Manuszewski
8fd2f69974 Adding script contents validation when importing scripts for the script plugin. Added support for custom file extensions for script plugin.
[CL 2485714 by Robert Manuszewski in Main branch]
2015-03-20 01:39:43 -04:00
Robert Manuszewski
b506a691c0 ScriptPlugin will no longer import txt files
[CL 2485438 by Robert Manuszewski in Main branch]
2015-03-19 19:08:36 -04:00
Jaroslaw Palczynski
28fc7695a0 Missing chages for 2481343.
Some P4V problem with backing out large changelist missed some files.

#codereview Robert.Manuszewski

[CL 2481366 by Jaroslaw Palczynski in Main branch]
2015-03-17 06:17:32 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Maciej Mroz
934d3ed529 UE-9030 Compiling a BP super class (with a child instance in the level) crashes with REINST class mismatch
All children classes are recompiled before any object is reinstanced.

#codereview Nick.Whiting, Robert.Manuszewski

[CL 2451921 by Maciej Mroz in Main branch]
2015-02-19 13:32:52 -05:00
Mikolaj Sieluzycki
52c71176ab Rename StaticConstructObject to StaticConstructObject_Internal and use it only in CoreUObject module. Change rest of usages to NewObject.
#codereview Robert.Manuszewski

[CL 2437731 by Mikolaj Sieluzycki in Main branch]
2015-02-09 05:43:45 -05:00
Matthew Griffin
c2a7e8178c [INTEGRATE] Change 2427264 by Nick.Whiting@z2421_SSD on 2015/01/31 18:51:47
Renaming ScriptComponent to ScriptPluginComponent

	#codereview robert.manuszewski

[CL 2435460 by Matthew Griffin in Main branch]
2015-02-06 10:41:43 -05:00
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00
Ben Marsh
710a4bc6f0 [INTEGRATE] Change 2412806 by Andrew.Rodham@AndrewRodham_4.7 on 2015/01/20 16:20:05
Changed importable asset types to explicitly add source file paths to asset registry tags

	Previously this was harvested from the object's properties, but required recursing into sub objects which was not feasible.

[CL 2419469 by Ben Marsh in Main branch]
2015-01-26 18:50:05 -05:00
Ben Marsh
bffeb80a9a [INTEGRATE] Change 2412028 by Andrew.Rodham@AndrewRodham_4.7 on 2015/01/20 07:02:45
Added automatic content monitoring for all mounted content directories

	Modifications to source content files that reside inside these folders will now automatically be reimported, if they relate to an asset.
	New files will also be automatically imported, and deleted files will prompt the user to delete associated assets.
	The feature is currently disabled by default, and enabled in Editor Preferences / Loading and Saving.

	Notable features still todo/refine:
	 * Source files rename currently process as a delete/add
	 * Slow task dialogs need work. We can hopefully get it running in the background / asynchronously over multiple frames
	 * Batch operations need work
	 * Profiling/optimisation
	 * Various message boxes/dialogs need some refinement
	 * Asset import factories that are dynamically loaded/unloaded will not be picked up by the import manager. Need to figure out a good way of fixing this.

[CL 2419400 by Ben Marsh in Main branch]
2015-01-26 18:20:53 -05:00
Nick Darnell
a20e2e58f3 UE-6596 - Fixing an editor crash and memory corruption issue that occurs when UMG 3D Components have been placed in the level and the widget they spawn is recompiled with certain changes. Restructuring the way external blueprint compilers are registered so that they can properly wait until all compiling has finished to do re-registering of components...etc.
[CL 2388949 by Nick Darnell in Main branch]
2014-12-15 15:31:42 -05:00