Commit Graph

50 Commits

Author SHA1 Message Date
Matt Kuhlenschmidt
d97aceb2ff Fixed crash with new texture customization for MaxSize and PowerOfTwo mode. Some textures do not have these settings and the customization did not account for that
https://jira.ol.epicgames.net/browse/UE-19641

[CL 2644877 by Matt Kuhlenschmidt in Main branch]
2015-08-05 10:44:02 -04:00
Richard TalbotWatkin
9b8b20bbf5 Added a details customization for UTexture. The "Maximum Texture Size" property is specialized so that it yields an error dialog when attempting to change it for non power of two textures which do not have a padded Power of Two Mode.
#jira UE-18783 - Power of Two and Max texture size is breaking large .HDR import
#jira UE-11904 - Crash on setting Max. Texture Size with Non Power of 2 Texture

[CL 2633975 by Richard TalbotWatkin in Main branch]
2015-07-27 11:47:42 -04:00
Martin Mittring
d71fe39442 cubemap printout in texture properties
[CL 2618896 by Martin Mittring in Main branch]
2015-07-13 17:07:35 -04:00
Matt Kuhlenschmidt
200caf1e0e Clamp unreasonable sizes for the checkerboard pattern in the texture editor
[CL 2570781 by Matt Kuhlenschmidt in Main branch]
2015-05-29 13:39:17 -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
Nick Darnell
ab07726898 Engine - Reducing code copy/paste. Now unifying all checkboard texture creation under one function in FImageUtils.
[CL 2561667 by Nick Darnell in Main branch]
2015-05-21 18:01:52 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -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
Marc Audy
a425eba9ed Unify Slate's FInputGesture and Engine's FInputChord as FInputChord defined in Slate
[CL 2481648 by Marc Audy in Main branch]
2015-03-17 11:36:28 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50: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
Saul Abreu
e9a1f089e7 Fixed UI_COMMAND macro implementation so that it requires use of the LOCTEXT_NAMESPACE macro in the same file it is invoked from. Added necessary LOCTEXT_NAMESPACE definitions to files missing them using UI_COMMAND.
[CL 2477295 by Saul Abreu in Main branch]
2015-03-12 15:26:31 -04:00
Richard TalbotWatkin
80f5aabc14 Fixed clang build error.
#codereview Matt.Kuhlenschmidt

[CL 2463829 by Richard TalbotWatkin in Main branch]
2015-02-27 07:32:32 -05:00
Richard TalbotWatkin
f6fb625ea8 Fixed ResourceSize tag for texture assets so it updates as new mip levels are streamed in. Added extra data to the details panel in the Texture Editor.
#jira UE-9147 - Texture details - adding texture memory size and other texture details to the editor would help by alleviating a lot of confusion

[CL 2463742 by Richard TalbotWatkin in Main branch]
2015-02-27 04:19:20 -05:00
Richard TalbotWatkin
592dcf230b Changed default Texture Editor background to be Checkered. Renamed Saturation view option to Desaturation.
#jira UE-8435 - Texture Properties preview Alpha and Saturation is wrong

[CL 2425322 by Richard TalbotWatkin in Main branch]
2015-01-30 03:09:41 -05:00
Jason Hoffman
2616aea612 fix for UE-5769 Crash when importing png to cube render target (fix 2)
[CL 2401079 by Jason Hoffman in Main branch]
2015-01-08 12:33:30 -05:00
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00
Michael Noland
429da2101b Editor: Default texture editor to showing the alpha channel in some texture formats
Editor: Correct actual texture size display in texture editor when using a power-of-2 padding option

[CL 2391534 by Michael Noland in Main branch]
2014-12-17 14:47:54 -05:00
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Jamie Dale
dd020dea5c Fixed code relying on SLATE_TEXT_ATTRIBUTE for SToolTip
Made sure everything was using FText rather than FString.

[CL 2373727 by Jamie Dale in Main branch]
2014-12-02 10:22:37 -05:00
Mikolaj Sieluzycki
d43e69c4b9 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356854 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:43:54 -05:00
Ben Marsh
e337c25611 PR-559: Changes needed for the 4.5.1.0 release of the Substance plugin
[CL 2345168 by Ben Marsh in Main branch]
2014-10-30 13:21:40 -04:00