Commit Graph

8 Commits

Author SHA1 Message Date
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