Commit Graph

159 Commits

Author SHA1 Message Date
Michael Noland
882aee9c55 Content Browser: Added the ability to register new advanced categories without editing engine source
Paper2D: Defined a "Paper2D" category and moved existing asset type actions over

New methods on IAssetTools:
- RegisterAdvancedAssetCategory
- FindAdvancedAssetCategory
- GetAllAdvancedAssetCategories

Upgrade Note: This gets rid of the named extension sections in the filter menu, which should instead be extended via registering a new category.

[UE-13646]
#codereview bob.tellez

[CL 2525743 by Michael Noland in Main branch]
2015-04-25 14:49:25 -04:00
Richard TalbotWatkin
ee38b591f9 Change to "Create Child Blueprint Class" so that the new asset is created and set up for inline renaming in the Content Browser, instead of opening the Blueprint Editor with the default name.
#jira UE-11519 - Blueprints: RMB -> "Create Class based on this" in CB doesn't allow me to name the class

[CL 2517970 by Richard TalbotWatkin in Main branch]
2015-04-20 14:22:39 -04:00
Michael Noland
2db8b8e622 Audio: Removed the unused sound preview dialog and sound preview thread
#codereview marc.audy, aaron.mcleran

[CL 2515229 by Michael Noland in Main branch]
2015-04-16 19:46:53 -04:00
Jamie Dale
b44bca0ef0 Curve Table improvements
UETOOL-281 - Improve data table workflows

Added support for exporting to CSV and JSON
Added support for importing from JSON (as well as the existing CSV support)
Ported over the new data table editor look-and-feel
Curve table editor now refreshes if the curve table it's editing is re-imported

[CL 2514354 by Jamie Dale in Main branch]
2015-04-16 11:46:07 -04:00
Dan Hertzka
9559ed311a [UETOOL-266] - Procedural foliage assets & properties are hidden behind an experimental flag
[CL 2510835 by Dan Hertzka in Main branch]
2015-04-13 17:33:05 -04:00
Olaf Piesche
89375030fe Moved Niagara to its own module; made curve access work; fixed various small things
#codereview simon.tovey

[CL 2510645 by Olaf Piesche in Main branch]
2015-04-13 15:25:14 -04:00
Dan Hertzka
b7e4b5af2a [UETOOL-255] - Renamed "Foliage Settings" assets to "Foliage Type" to match their class name (and more clearly identify it as a specific type of foliage)
[CL 2508821 by Dan Hertzka in Main branch]
2015-04-10 15:51:45 -04:00
Richard TalbotWatkin
da67c07130 Fix issue where renamed assets were incorrectly absent from the "In Use By Level" filter in the Content Browser until toggling the filter on and off.
#jira UE-11567 - In Use By Level Filter disabled when renaming asset
#jira UE-11569 - Moving an asset In Use By Level is enabled will make it not visible in filter
#codereview Matt.Kuhlenschmidt

[CL 2508158 by Richard TalbotWatkin in Main branch]
2015-04-10 06:55:02 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Robert Manuszewski
8fe5db30e3 Merging UE4-Streaming to UE4
- Linkers are no longer UObjects. Renamed ULinker, ULinkerLoad and ULinkerSave to FLinker, FLinkerLoad, FLinkerSave respectively
- Linkers are now associated with their UPackages
- Linker version is now stored in UPackages
- Async loading is now performed on a separate thread (if platform supports it and only in cooked builds), with the exception of PostLoad which is still done on the game thread
- Added UObject::IsPostLoadThreadSafe() function to determine if PostLoad is thread safe and can be executed on the async loading thread (defaults to false)
- UObject creation is now thread safe and can be performed on any thread
- Move many of the linker/UObject globals into FUObjectThreadContext (TLS)
- GetAsyncLoadPercentage() now takes PostLoad into account
- More async loading stats
- Added AtomicallySetFlags/ClearFlags to UObject
- Made FModuleManager thread safe.
- Added FGCScopeGuard as means of preventing GC from executing from non-game thread
- It's possible to disable async loading thread through ini settings.
- Cancelling async loading will now also trigger GC
- Implemented a basic version of async streaming priorities.

Change 2410813 by Mikolaj Sieluzycki:
	Change Sleep in while loop to ConditionalSleep in FMultiReaderSingleWriterGT
Change 2410734 by Mikolaj Sieluzycki:
	Make FModuleManager thread safe.
Change 2399879 by Mikolaj Sieluzycki:
	Basic version of async streaming priorities.
Change 2410707 by Mikolaj Sieluzycki:
	Implement conditional and no stat versions of sleep.
Change 2371939 by Robert Manuszewski:
	Async Loading Improvements: adding more stats (accumulators)
Change 2372403 by Robert Manuszewski:
	Fixing compile errors when STATs are not enabled
Change 2371526 by Robert Manuszewski:
	AsyncLoading Improvements (WIP)
Change 2407198 by Robert Manuszewski:
	Re-implementing delegate fixes for Async Loading
Change 2407425 by Robert Manuszewski:
	Re-implementing cancelling async loading in the async loading branch.
Change 2484362 by Robert Manuszewski:
	Making it possible to disable async loading thread through ini settings.
Change 2484744 by Robert Manuszewski:
	Minimizing locks in GC and other threads when handling UObjects
Change 2480190 by Robert Manuszewski:
	Fixing infinite stall after canceling async loading in non-cooked builds
Change 2484268 by Robert Manuszewski:
	Fixing crash when allocating permanent object pool.
Change 2489761 by Robert Manuszewski:
	Fixing BulkData using linker archive on the main thread even if the linker was created on the async loading thread.
Change 2493624 by Robert Manuszewski:
	Cancelling async loading will now also trigger GC
Change 2487881 by Robert Manuszewski:
	Making ShaderIdMap operations thread safe.
Change 2488067 by Robert Manuszewski:
	Fixing GetAsyncLoadPercentage. It will now also respect PostLoad.
Change 2458640 by Robert Manuszewski:
	Fixing crash in PIE
Change 2458825 by Robert Manuszewski:
	Fixing a few crashes when streaming and the package is missing.
Change 2476935 by Robert Manuszewski:
	Fixing crash while async loading ANavigationData
Change 2477361 by Robert Manuszewski:
	Fixing crashes in cooked game
Change 2480095 by Robert Manuszewski:
	Making FUObjectArray more thread safe
Change 2475443 by Robert Manuszewski:
	Re-enabling single-threaded async loading path for the editor and platforms that don't support multithreading.
Change 2475458 by Robert Manuszewski:
	Making sure bulk data is only loaded on a separate thread if it's not being loaded on the async loading thread.
Change 2476661 by Robert Manuszewski:
	Fixing FlushAsyncLoading not flushing everything
Change 2401089 by Jaroslaw Surowiec:
	Core - Added AtomicallySetFlags/ClearFlags to UObject, added a comment to ThisThreadAtomicallyClearedRFUnreachable

[CL 2498249 by Robert Manuszewski in Main branch]
2015-04-01 03:03:18 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Michael Noland
73d8625fbb Editor: Added sanitization to the asset name in addition to the package name in FAssetTools::CreateUniqueAssetName
#codereview bob.tellez

[CL 2496012 by Michael Noland in Main branch]
2015-03-30 15:21:59 -04:00
Jamie Dale
6af0f20199 Data table improvements
UETOOL-281 - Improve data table workflows
UETOOL-282 - Data tables cannot be exported as CSV
UETOOL-289 - Data tables cannot represent arrays in their CSV data

Split up the util functions into their own file (DataTableUtils).
Split up the CSV exporting/importing into its own file (DataTableCSV).
Split up the JSON exporting/importing into its own file (DataTableJSON).
Added support for exporting/importing/displaying array properties.
Added the ability to export a data table as CSV.
Added the ability to import a data table from JSON.

[CL 2494005 by Jamie Dale in Main branch]
2015-03-27 12:29:42 -04:00
Chris Wood
fea90a7330 Importing multiple assets with the same name no longer crashes the editor.
[UE-1102] - CRASH: Importing an FBX and TGA at the same time causes the editor to crash

[CL 2493461 by Chris Wood in Main branch]
2015-03-27 05:31:50 -04:00
Dan Oconnor
f4d3d65662 PR #968: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
These can be generally described as removing redundant condition checks, using logical operators instead of bitwise operators, removal of redundant parenthesis, and consistent use of pragma push and pragma pop. There is very little observable behavior change in this CL.

Changes that required further review are pending in 2489753

[CL 2489804 by Dan Oconnor in Main branch]
2015-03-24 15:51:28 -04:00
Dan Hertzka
4b350ffd57 [UETOOL-257] - Added an AssetTypeActions for the procedural foliage spawner
[CL 2488354 by Dan Hertzka in Main branch]
2015-03-23 16:50:59 -04:00
Dan Oconnor
06806b2237 PR #946: Fixing PVS-Studio warning (Contributed by PaulEremeeff)
https://github.com/EpicGames/UnrealEngine/pull/946

I have gone through these changes and verified that whatever behavior change they cause could only be an improvement (generally they just prevent possible access to nullptrs, but there are also some style corrections). A separate changelist is being prepared that includes changes that could unintentionally caues behavior change for the worse.

[CL 2486801 by Dan Oconnor in Main branch]
2015-03-20 17:18:31 -04:00
Andrew Rodham
b2d730ea85 Fixed double-slash error in the asset rename manager when it was supplied with a package path with a trailing slash
[CL 2482963 by Andrew Rodham in Main branch]
2015-03-18 09:46:02 -04:00
bruce nesbit
e50edce851 Fixed crash creating a blueprint from a CPP if no destination folder is selected
#codereview Jamie.Dale

[CL 2479875 by bruce nesbit in Main branch]
2015-03-16 03:42:35 -04:00
Jamie Dale
3fcddd48d5 Opening a class via the Content Browser now opens the source file as well as the header file
[CL 2475462 by Jamie Dale in Main branch]
2015-03-11 14:35:44 -04:00
Marc Audy
f2bda7c975 Fix shadowed variables
[CL 2468158 by Marc Audy in Main branch]
2015-03-03 17:20:43 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Rolando Caloca
e463935a85 UE4 - Save generated LODs for static meshes
#codereview Nick.Penwarden

[CL 2454746 by Rolando Caloca in Main branch]
2015-02-21 13:20:31 -05:00
Jamie Dale
8cec2ba11f Unified some terminology between the CB and SCS editor
UE-9405 - Update Blueprint option txt and tooltip to match SCS create child option

[CL 2453239 by Jamie Dale in Main branch]
2015-02-20 10:40:40 -05:00
Matthew Griffin
f785c97e16 [INTEGRATE] Change 2443487 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/12 10:49:16
Changed c++ thumbnail color

	#lockdown mike.fricker

[CL 2449839 by Matthew Griffin in Main branch]
2015-02-18 05:06:47 -05:00