Commit Graph

7 Commits

Author SHA1 Message Date
Richard TalbotWatkin
01ce7b40e7 Changed the default return value for GetResourceSize() back to 0. ResourceSize asset registry tag is now always added for non BP CDOs to prevent the ResourceSize tag from being filtered out when building asset tooltips.
#codereview Matt.Kuhlenschmidt, Bob.Tellez, Ben.Zeigler

[CL 2580537 by Richard TalbotWatkin in Main branch]
2015-06-08 17:48:37 -04:00
Mike Fricker
1b6238ef4f Size Mapper fixes
- Fixed variable shadowing compile error

[CL 2530390 by Mike Fricker in Main branch]
2015-04-29 12:00:09 -04:00
Mike Fricker
06a86ed0a8 Size Mapper fixes
- Fixed assertion when trying to view a size map of a C++ class (UE-14478)
- Fixes assertion when content has direct references script packages

[CL 2530297 by Mike Fricker in Main branch]
2015-04-29 10:55:05 -04:00
Mike Fricker
2fde42db0f Size Mapper fixes
- Fixed references not being up-to-date as changes are made live in the editor.  Simply close and reopen the Size Map to see updated references. (UE-14410)
- Fixed many issues with Size Map not showing the correct set of referenced content by an asset (no longer uses Asset Registry, instead serializes to find references.)
- Fixed 2D textures not reporting correct size (they were reporting current streamed-in mips, not worst-case size)
- Fixed assets that reported zero bytes as their size not being tracked as "unknown size"
- Fixed root-level assets sometimes getting bundled into the "SHARED" group
- Fixed Size Map no longer functioning when viewing large numbers of assets, such as all Engine Content
- Fixed Size Map having to be closed and reopened sometimes to show all of the correct references
- Fixed node text sometimes drawing with unintentionally huge fonts due to integer overflow
- Fixed the asset type name not being shown next to an asset name that had child references
- Fixed hard-to-read text labels due to node colors being desaturated too much at even shallow depth levels

[CL 2530259 by Mike Fricker in Main branch]
2015-04-29 10:39:56 -04:00
Mike Fricker
64bda439e4 Size Map: Fixed assets with back-references causing the asset to appear in the "shared" node
[CL 2523517 by Mike Fricker in Main branch]
2015-04-23 17:55:19 -04:00
Dmitry Rekman
b812cdd860 Fixing editor compilation issues (shadowing and etc).
#codereview Marc.Audy, Mike.Fricker
#lockdown Zachary.EdgertonJones

[CL 2522019 by Dmitry Rekman in Main branch]
2015-04-22 18:48:15 -04:00
Mike Fricker
403a84fcfa Asset Size Mapper tool
- New "Size Map" feature that shows the resource size for selected assets in Content Browser
- Select assets in Content Browser, right click and choose "Size Map..." to show sizes for those assets
- Select actors and press Alt+Shift+M to show sizes of assets used by those actors
- Select assets in Reference Viewer, right click and choose "Size Map..." to show sizes for those assets
- Also added a new "Tree Map" general purpose Slate widget (STreeMap)

[CL 2521609 by Mike Fricker in Main branch]
2015-04-22 15:58:21 -04:00