Commit Graph

25 Commits

Author SHA1 Message Date
Andrew Brown
7b2eae8e3d Disallow moving matinee actors to another level if their matinee is open
#ttp 335669 - EDITOR: MATINEE: With matinee open if you move a matinee actor to the same or new level, it duplicates it

#branch UE4

[CL 2238128 by Andrew Brown in Main branch]
2014-07-31 06:08:14 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Chris Gagnon
3444d084ab Removed "InterpreteAsLinear", Deprecated FColor DrawColor and added FLinearColor LevelColor to replace it. Changed the underlying FColor's to FLinearColor in the rendering classes, cleaned up a bunch of color conversions.
#codereview matt.kuhlenschmidt

[CL 2235025 by Chris Gagnon in Main branch]
2014-07-28 17:16:21 -04:00
Andrew Brown
ef257f01be Disallow moving actors to another level if any actor is referenced by an open Matinee
#ttp 335669 - EDITOR: MATINEE: With matinee open if you move a matinee actor to the same or new level, it duplicates it

#branch UE4

#change Check to see if any of the selected actors are referenced in an open matinee, and ask the user if they want to close matinee to continue

reviewed by Thomas.Sarkanen

[CL 2225378 by Andrew Brown in Main branch]
2014-07-21 04:58:19 -04:00
Andrew Brown
fbf585cb1b Toggling Level visibility no longer forces layer visibility
#ttp 340965 - UE4-Fortnite: Editor: levels: every time you toggle visibility on a level it makes all Layers visible, yikes

#branch UE4

#change additionally, making a level current no longer forces the layer visibility either.

reviewed by Thomas.Sarkanen

[CL 2217507 by Andrew Brown in Main branch]
2014-07-15 04:48:45 -04:00
Dmitriy Dyomin
031a1afc68 Changed Streaming Levels references in ALevelStreamingVolume to store package names instead of ULevelStreamingObjects
[CL 2168007 by Dmitriy Dyomin in Main branch]
2014-07-07 04:34:38 -04:00
Bob Tellez
48e2c32a7c UE4: When running with WorldAssets, the open level dialog has been changed back to a popup. The inline menus don't work as envisioned and it causes problems on other platforms with native menus (Mac)
[CL 2122618 by Bob Tellez in Main branch]
2014-06-30 19:03:07 -04:00
Barnabas McManners
2e1ef42680 Level and world browsers Move Selected Actor To Level command is only enabled if the the selected actors arenÆt in the selected level.
#TTP 335685 - EDITOR: Level Browser: Allowed to click "move selected actor to level" on an actor that is already in the selected level

#branch UE4

#proj Editor.WorldBrowser
#proj Editor.Levels

#change Added a new method IsValidMoveActorsToLevel to both FLevelCollectionModel and FLevelCollectionViewModel, this is used to enable the Move Actor to level command for both cases. It scans the selected actors and checks their levels against the selected levels. If any actor is contained within any of the selected levels it disables the control. It also disables the control should there be no actors selected. If both of these cases pass it simply checks if the level is editable.

#reviewedby Chris.Wood

[CL 2113869 by Barnabas McManners in Main branch]
2014-06-23 06:42:01 -04:00
Dmitriy Dyomin
0cd7b8fa5d Cleaning trans buffer when level removed from world
[CL 2110339 by Dmitriy Dyomin in Main branch]
2014-06-19 06:56:28 -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
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Bob Tellez
77eb1f33b9 UE4: "Add Existing Level" in the level browser now uses an asset picker when launching with -WorldAssets
[CL 2101920 by Bob Tellez in Main branch]
2014-06-11 11:43:46 -04:00
James Golding
7e7a2e6473 More Engine.h trimming (EdGraph headers, BoneMaskFilter, Breakpoint, LevelScriptBP, ClipPAdEntry, CodecMovie, DestructibleFractureSettings, DeviceProfile)
[CL 2085606 by James Golding in Main branch]
2014-05-29 17:11:10 -04:00
James Golding
131420beb5 Remove Matinee related headers from Engine.h, and add only where needed
#codereview matt.kuhlenschmidt

[CL 2081832 by James Golding in Main branch]
2014-05-22 06:52:28 -04:00
Max Preussner
331984d20c Settings: moved level browser settings into LevelBrowser module
[CL 2080434 by Max Preussner in Main branch]
2014-05-21 11:16:12 -04:00
James Golding
a0cbafe73a First pass removing several headers from Engine.h
[CL 2080322 by James Golding in Main branch]
2014-05-21 10:00:58 -04:00
Barnabas McManners
9445f57396 Diff functionality now supports Paths with whitespace.
#TTP 331892 - Editor: Blueprint Defaults Diff: Lauching diff tool does not work with spaces in paths

#branch UE4

#proj Editor.BehaviourTreeEditor
#proj Editor.WorldBrowser
#proj Editor.Levels
#proj Developer.AssetTool

#change Wrapped the file paths in double quotes, this means that the full path gets passed to P4Merge

#reviewedby Chris.Wood

[CL 2060955 by Barnabas McManners in Main branch]
2014-05-01 08:53:08 -04:00
Max Preussner
b63129a60c Slate: Refactored core Slate implementation into SlateCore module in preparation for UMG.
Other Updates:
- The WidgetReflector is now in its own module as well. It will be converted to a plug-in later.
- The Public API of both Slate and SlateCore has largely been reorganized for better discoverabilty. More cleanup work is needed.
- Added a lot of missing API documentation and fixed existing ones. More and better documentation is needed.
- Removed dead code, fixed a couple things I stubled upon, and conformed to coding guidelines (NULL vs nullptr, line breaks, etc.)

Upgrade Notes:
- The Slate Remote Server is currently disabled - will be re-enabled shortly!
- If your module previously had a module dependency to 'Slate', it now also needs a PrivateModuleDependency to 'SlateCore' in its Build.cs file.
- If your module exposes in any of its Public header files types that are now declared in SlateCore, it needs a PublicModuleDependency to 'SlateCore'
- The ToolTip property type on SWidget has changed from SToolTip to IToolTip; change local variables to TSharedPtr<IToolTip> instead of TSharedPtr<SToolTip> where needed
- IToolTip is not a widget. If you need access to the actual widget that represents the tool tip, use IToolTip::AsWidget(); If you need access to the tool tip's content, use IToolTip::GetContentWidget()

Troubleshooting:
- After syncing to this changelist you may have to clean your /Engine/Intermediate/Build/ directory and rebuild your entire project
- If in your project you are getting linker errors for unresolved types that are now declared in SlateCore, you may be missing a dependency to 'SlateCore'
- If in the Engine code you are getting linker errors for unresolved types that are now declared in SlateCore, you may need to rebuild the entire Engine

[CL 2057118 by Max Preussner in Main branch]
2014-04-26 15:07:24 -04:00
Dmitriy Dyomin
f59299b412 World browser:
- Fixed [missing level] operations: replace, remove
- Restored correct styles from CL# 2047641

[CL 2048718 by Dmitriy Dyomin in Main branch]
2014-04-23 19:20:34 -04:00
Martin Wilson
331b96e6cc Fixes for QAGame non unity compile
[CL 2044905 by Martin Wilson in Main branch]
2014-04-23 18:35:08 -04:00
Justin Sargent
0bc686f251 Fixed up redundant FText .ToString() usage and some improper FText usage.
[CL 2042623 by Justin Sargent in Main branch]
2014-04-23 18:06:41 -04:00
Andrew Rodham
07b90d1da2 #ttp 331268 - SLATE: Replace instances of DragDrop::IsTypeMatch with FDragDropEvent::GetOperationAs()
#summary  Replaced instances of DragDrop::IsTypeMatch with FDragDropEvent::GetOperationAs()
#note Please change any instances of DragDrop::IsTypeMatch for the templated FDragDropEvent::GetOperationAs<>() or FDragDropOperation::IsOfType<>() where necessary
#proj Editor
#branch UE4
#reviewedby Nick.Atamas

[CL 2042222 by Andrew Rodham in Main branch]
2014-04-23 18:00:50 -04:00
Nick Darnell
b96d695522 * FDragDropOperation now inherits from TSharedFromThis, no need to do it on subclasses any more. I've removed it from the subclasses that were also doing it.
* FDecoratedDragDropOp's Hover text is now FText, instead of FString.

[CL 2041690 by Nick Darnell in Main branch]
2014-04-23 17:55:20 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00