Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
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
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -04:00
Dan Hertzka
2ab1556645 Adjusted access to the LocalWorkspaceMenuRoot within FTabManager - GetLocalWorkspaceRoot() now returns a const and provides methods to expose adding a category and clearing categories
#codereview nick.atamas

[CL 2338925 by Dan Hertzka in Main branch]
2014-10-23 15:11:28 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Dan Hertzka
f3092790eb Window menu refactor & polish
- Window menu is now sectioned and labeled based on the current editor. There's now a local workspace root member in FTabManager and a workspace category in FAssetEditorToolkit (both are FWorkspaceItem objects). Individual editors attach their local category to the tab manager's local root. Workflow app modes have their own category members that are swapped out when the mode changes.

- Finally, the AssetEditorCategory of FWorkspaceMenuStructure has been removed entirely.

- Replaced the AddMenuSeparator() call in FTabManager::PopulateSpawnerMenu_Helper() with a section of the same title as the workspace category.

- Tab spawner menu entries for the local editor now properly show the icon of the associated tab. To accomplish this it was necessary to change FWorkflowTabFactory::TabIcon to be an FSlateIcon instead of an FSlateBrush*. All factory instances have been updated accordingly.

- Added & updated lots of icons! (those missing will be TTP'd)

- The nomad tab spawner section (named "General" in the menu) has been largely compressed into the Developer Tools submenu, which has also been organized into sections for readability.

- Unreal frontend options were also moved into a context menu within the General section

- Moved all experimental tools to their own section of the Window menu. When they're no longer experimental they should register as nomads in the appropriate category

- Undo history now under Edit menu

[CL 2324285 by Dan Hertzka in Main branch]
2014-10-09 12:34:55 -04:00
Andrew Brown
6391589c05 Modify reimport analytics to clarify exactly what file type was reimported.
[CL 2271980 by Andrew Brown in Main branch]
2014-08-26 06:20:39 -04:00
Andrew Brown
3cb097972c Modified analytics to include .Usage in the name
[CL 2239630 by Andrew Brown in Main branch]
2014-08-01 05:31:22 -04:00
Max Preussner
fba221d12e TextureEditor: code and documentation cleanup pass
[CL 2238428 by Max Preussner in Main branch]
2014-07-31 11:54:35 -04:00
Andrew Brown
bf0f2fffdd Added analytics reporting to the static mesh editor
#ttp 340613 - FIXIF: EDITOR:ANALYTICS: Static Mesh Editor Instrumentation Pass

#branch UE4

#added Added analytics for various static mesh editor usage, making sure not to spam events when spinboxes are used and only report when the value actually changes.

#added Added analytics whenever an asset is reimported (if via an editor, the editor will then report that it was it that did the reimporting)

reviewed by Thomas.Sarkanen

[CL 2229618 by Andrew Brown in Main branch]
2014-07-24 04:28:41 -04:00
Andrew Brown
e1910bf4df Texture Editor: bUseSpecifiedMipLevel now default to false and the number of cinematic mips is ignored by the UI when it's true and Max In-Game no longer takes the editor specified mip setting into account
#ttp 333394 - EDITOR: texture editor bugs (was RE: Flow map action for Photoshop CS5 and above)

#branch UE4

#change Max In-Game dimensions are now calculated seperately as to not confuse the user.

#change Renamed 'Current' to 'Displayed'

#change bUseSpecifiedMipLevel was uninitialized, so could appear as true in the UI without the users knowledge.

#change GetMaxMipLevel û a couple of calls to this were assuming it returned a float, rather than an int32.

#change Cleaned up CachedCombinedLODBias usage and removed some duplicate code.

#change  æNum Cinematic MipsÆ is now also ignored by the UI when æUse specified mipsÆ is enabled.

reviewed by Thomas.Sarkanen

[CL 2059960 by Andrew Brown in Main branch]
2014-04-30 10:58:19 -04:00
Jamie Dale
85cc71593d Fixed crash caused by the texture editor viewport trying to access a texture during reimport
TTP# 332724 - Regression: EDITOR: Texture: CRASH: Reimporting a texture that is not a power of two results in a crash

Reimporting a non-power of 2 texture would cause a modal dialog to open, causing the texture editor viewport to be ticked for render while the texture was still being reimported. This lead to a crash due to the texture having no resource allocated.

The rendering in the texture editor is now disabled while a reimport takes place.

I also moved the Pre/PostReimport delegates from FAssetEditorToolkit to FReimportManager to ensure that all reimport cases are caught (eg, reimporting from the Content Browser while an asset editor is open).

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2056305 by Jamie Dale in Main branch]
2014-04-25 06:23:34 -04:00
Richard TalbotWatkin
7e520e776a Disabled digit grouping in the texture details text.
#ttp 332686 - Regression: EDITOR: TEXTURE: Resolution statistics are comma delimited
#branch UE4
#proj Editor.TextureEditor
#add Created an FNumberFormattingOptions with digit grouping disabled, and passed as parameter to FText::AsNumber in FTextureEditorToolkit::PopulateQuickInfo.
#reviewedby Chris.Wood, Max.Preussner

[CL 2054354 by Richard TalbotWatkin in Main branch]
2014-04-23 20:15:56 -04:00
Barnabas McManners
b99bcd0697 #TTP 331191 - Texture Editor: Reimport button should be disabled when viewing Lightmap textures
#branch UE4

#proj Editor.TextureEditor

#summary Reimport button in the texture editor is now disabled for light and shadow maps

#add Added a can execute method to the reimport UICommand which checks the texture type and disabled the function if it's a light of shadow map.

#reviewedby Chris.Wood

[CL 2040648 by Barnabas McManners in Main branch]
2014-04-23 17:43:32 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00