Commit Graph

34 Commits

Author SHA1 Message Date
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
tommybear
a6a96d4a34 PR #868: Add "Snap Object To View" to Editor (Contributed by tommybear)
This allows you to align your view in the editor, select an actor in the
world outliner or in scene, right-click and select "Snap Actor to
Camera".  Actor will then set its location and rotation to match the
view.  This is super handy for quickly finding an awesome camera view in
the editor and then making your CameraActors match that view.

[CL 2501200 by Matt Kuhlenschmidt in Main branch]
2015-04-03 11:51:54 -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
Marc Audy
7effd7ebec Shadow variable fixes
[CL 2469447 by Marc Audy in Main branch]
2015-03-04 17:45:56 -05:00
Ryan Gerleve
68b14cd91c Fix non-unity compile
[CL 2447278 by Ryan Gerleve in Main branch]
2015-02-16 12:02:29 -05:00
Matthew Griffin
fd7b2e7254 [INTEGRATE] Change 2438318 by Dan.Hertzka@Dan.Hertzka_T4682_4010 on 2015/02/09 12:20:44
[UE-8712] - Right-clicking a component in the world brings up a context menu with basic options
	- Fixed issue where duplicated components retained incorrect AttachChildren

[CL 2447004 by Matthew Griffin in Main branch]
2015-02-16 09:14:11 -05:00
Andrew Rodham
fb39a20762 Renamed Actor Locking editor functionality to Actor Pilot
Actor pilots are now initiated from the actor's context menu, rather than an unrelated menu on the viewport. Similarly, pilots can be stopped via the context menu for the actor, or from the viewport toolbar that is visible when a pilot is active.

This addresses UE-1091 - Allow actors to be piloted with the camera in UE4.

[CL 2446881 by Andrew Rodham in Main branch]
2015-02-16 07:13:08 -05:00
Matthew Griffin
ac6f68a9d9 [INTEGRATE] Change 2430370 by Michael.Noland@mnoland-T2784-Reference on 2015/02/03 15:13:32
Editor: Remove "Customize Scripting Behavior" context menu option that went down the anonymous blueprint route; create a named Blueprint via the details panel instead [UE-9013]

[CL 2437798 by Matthew Griffin in Main branch]
2015-02-09 06:48:20 -05:00
Dan Hertzka
9b9c3d2d3e In-world component selection improvements:
- Right-clicking a selected actor will open the context menu, not select the component
- Clicking the selected actor will not select a component if the click also focused the level viewport
- Right-clicking a selected component opens a 1-option context menu to select the owning actor

[CL 2402541 by Dan Hertzka in Main branch]
2015-01-09 19:49:04 -05:00
Jamie Dale
bbb0624bff Fixed code relying on SLATE_TEXT_ATTRIBUTE for tooltips.
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 2401019 by Jamie Dale in Main branch]
2015-01-08 11:35:01 -05:00
Marc Audy
bdf72b14fb Fix non-unity compile errors
[CL 2400240 by Marc Audy in Main branch]
2015-01-07 16:28:07 -05:00
Marc Audy
f4eb324c9d Allow creation and duplication of Anonymous blueprints
[CL 2399172 by Marc Audy in Main branch]
2015-01-06 16:56:08 -05:00
Richard TalbotWatkin
c2461c48c5 Streamlined the Select submenu in the level viewport context menu.
#jira UE-6733 - 'Select' section in context menu contains uncommon/deprecated items

[CL 2393840 by Richard TalbotWatkin in Main branch]
2014-12-19 12:46:47 -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
Gil Gribb
89ad70df9d Merging development branch (CL 2365488) to //depot/UE4/... Engine only, mostly hierarchical foliage
[CL 2376199 by Gil Gribb in Main branch]
2014-12-04 12:41:25 -05:00
Matt Kuhlenschmidt
d647c8f5ed Fix cases of constant FName recreation in the editor which is affecting performance
[CL 2363352 by Matt Kuhlenschmidt in Main branch]
2014-11-18 09:57:20 -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
Andrew Rodham
50bfbf7e0b Added Worlds and Level Blueprints to the scene outliner
This change includes a large rework of the scene outliner to make it more expandable and flexible with what data it supports.
Tree items now support visitation to allow for external logic on custom columns etc without having to type check and cast.
Sorting has been overhauled to be more flexible and efficient. It now supports correct lexical comparison for numbers.

[CL 2354514 by Andrew Rodham in Main branch]
2014-11-10 10:09:21 -05: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
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Ben Marsh
e9f8b8d3a1 Fixup multiline comments that are meant to be documentation. Need to start with /** for doxygen to parse them.
[CL 2265840 by Ben Marsh in Main branch]
2014-08-21 08:33:39 -04:00
Marc Audy
e8bd142869 Change Full documentation -> View Documentation
Add documentation anchor icon next to View Documentation

[CL 2244754 by Marc Audy in Main branch]
2014-08-05 17:12:02 -04:00
Marc Audy
494f22bb33 Add the ability to link to object class documentation throughout the UI
[CL 2226010 by Marc Audy in Main branch]
2014-07-21 17:31:27 -04:00
Dmitriy Dyomin
4ed24de8fc MeshProxy tool will be disabled instead of hidden when user has not simplygon
[CL 2135785 by Dmitriy Dyomin in Main branch]
2014-07-04 04:06:36 -04:00
Andrew Rodham
ba3528c9d4 Made it possible for asset editors to maintain their own FEditorModeTools lists
Breaking changes include:
    * Rename of GEditorModeTools -> GLevelEditorModeTools to signify that it applies only to the level editor modes
    * Addition of FEditorModeRegistry, responsible for managing and creating new editor modes. Modes are no longer registered with an instance of the mode, instead with a mode factory that is able to create a new mode of that type.
    * Editor modes now operate on FEditorViewportClients rather than FLevelEditorViewportClients
    * Added ability to specify an FEditorModeTools when creating an FEditorViewport

Moved component vizualiser manager handling outside of individual editor modes, and into FLevelEditorViewportClient. This should make it easier to transplant in future.

This work addresses TTP#334640 - EDITOR: Investigate making editor modes a per-'editor' concept

Reviewed by Michael Noland, Matt Kuhlenschmidt

[CL 2109245 by Andrew Rodham in Main branch]
2014-06-18 10:16:16 -04:00