Commit Graph

17 Commits

Author SHA1 Message Date
Ben Cosh
dcdae4a4e3 Modified the blueprint VER_UE4_EDITORONLY_BLUEPRINTS migration to log warnings about blueprints ( in the blueprint log ) that have been migrated to make it easier for the user to determine and re-save which blueprints change to fix import curve errors in an attempt to clarify the issues. Additionally added a loading/saving editor preference to dirty the migrated blueprints to enable rapid fix up of migration issues.
#TTP 340959 - CRASH: UE4: BLUEPRINTS: Editor crashing when compiling CurveFloat in a Timeline
#Branch UE4
#Proj  Runtime, UnrealEd

ReviewedBy Chris.Wood

[CL 2230283 by Ben Cosh in Main branch]
2014-07-24 13:50:41 -04:00
Hyojong Shin
76bfab2fac Fixed TTP #342121 : FEATURE REQUEST: PERSONA: Ability to remove all display text without removing mesh
[CL 2229607 by Hyojong Shin in Main branch]
2014-07-24 03:58:43 -04:00
Bob Tellez
6cd7619e1d [AUTOMERGE]
#UE4 Made the default level streaming class an editor user setting.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2227375 by Bob.Tellez on 2014/07/22 15:10:50.

[CL 2227560 by Bob Tellez in Main branch]
2014-07-22 17:03:35 -04:00
Hyojong Shin
f0d438b8ca - Changed Display Info in Persona's viewport to be simple as static mesh editor
- Changed the name of "DisplayFactor" property in SkeletalMeshLODInfo into "ScreenSize" and redirected property

[CL 2221943 by Hyojong Shin in Main branch]
2014-07-17 05:14:00 -04:00
Simon Tovey
e36de979f0 Making sure the LivePreview toggle is on by default
[CL 2191298 by Simon Tovey in Main branch]
2014-07-11 08:44:19 -04:00
Gareth Martin
eb28c2f150 Fix foliage placing on translucent and "no collision" meshes.
[CL 2136131 by Gareth Martin in Main branch]
2014-07-04 04:51:45 -04:00
Lina Halper
1a312623c0 Support option to not "ConvertScene" when importing FBX
- i.e. blender doesn't provide correct scene causing the scene to be rotated wrong direction

#code review: Matt.Kuhlenschmidt

[CL 2108630 by Lina Halper in Main branch]
2014-06-17 18:17:20 -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
Matt Kuhlenschmidt
c8048bb919 We now throttle cpu usage by ticking much slower when all windows are minimized. Added a setting (disabled by default) to also throttle when the application is not in the foreground (but could still be visible).
Fixed Slate windows drawing when minimized

[CL 2075621 by Matt Kuhlenschmidt in Main branch]
2014-05-16 11:42:50 -04:00
Max Preussner
3dc97cabe5 SceneOutliner: Moved scene outliner settings into their own settings class
#CodeReview: andrew.rodham

[CL 2067720 by Max Preussner in Main branch]
2014-05-08 21:34:05 -04:00
Andrew Brown
b145f1d79e Simple and Group Stat Exec commands can now be triggered from the level viewport Show menu directly.
#ttp 306334 - ROCKET: TASK: PUNTABLE: Stats: FN: Make diagnostic stats discoverable and available in the UI (don't require console to toggle)

#branch UE4

#change
DECLARE_STATS_GROUP û Added additional param GroupCategory, for subfolder use in the UI. Fixedup all Stats Group usage so the category is now propagated through where it needs to be.
Currently all Group stats have the Category æAdvancedÆ, and all engine stats have the Category æSimpleÆ û this is just to differentiate them for now, better categories will come along in future.
Modified FindOrAddMetaData as it now broadcasts a delegate (via a TaskGraph) whenever a new stat meta data is added û this was needed as not all the stat groups are æregisteredÆ when the level viewports are created (they are drip loaded), so the viewports need to listen for any additions thereafter...
GroupDescription is displayed as a tooltip in the UI for the stat entry and we may want to localize these.
RenderStats & RenderGroupedWithHierarchy: Modified so that it now takes the viewport that it should render to as a param (which is also used to determine if each stat should be visible).
Removed StatsEnabled delegate in favour of StatCheckEnabled, StatEnabled, StatDisabled, StatDisableAll for more finite usage and feedback when toggling them.
Modified FHUDGroupManager HandleCommand It now uses the new delegates to work out whether it needs to enable or disable for the current viewport, so itÆs more involved than a simple toggle, itÆs more ôis the stat enabled for the current viewport, and is it enabled for any viewportö delegate querying so it can react accordingly.

Added struct FSimpleStatFuncs: Which contains info on each æSimple StatÆ such as; name, category, description, renderfunc, togglefunc and the side of the viewport it should be rendered to
ExecSimpleStat û Calls Exec for a registered Simple Stat, ensuring the correct viewport is set
IsSimpleStat û Checks to see if a stat is a registered Simple Stat or not
SetSimpleStat û Sets the state of a specified Simple Stats
SetSimpleStats - Sets the state of the specified Simple Stats
RenderSimpleStats û Renders the Simple Stats if they are enabled, and have Render functions assigned.
Each Exec function had the code it executes which itÆs toggled and rendered into functions

Added FStatUnitData & FStatHitchesData: Moved all the globals/static variables used when enabling Stat Unit/Hitches into a struct as itÆs now used by multiple viewports and they needed their own copies. Also moved their draw functions here too.

FSceneViewport:
SwapStatCommands û Exchanges the enabled stats between two viewports, this is so when PIEing the stats which were enabled on the Level Viewport (if playing in active viewport only) get transposed to the Game Viewport, and then restored when PIE ends.
SEditorViewport:
ToggleStatCommand û Called when a stat is enabled/disabled from the UI
IsStatCommandVisible û Checks to see if a stat command should appear as visible in the UI
SEditorViewportViewMenu:
GenerateViewMenuContent û Made protected and virtual so it could be called externally.
FLevelViewportCommands: Added the code needed to generate commands for each of the Stat menu entries, however because not all stats are registered when this happens, it also creates some delegates to listen out for others that are registered later
Destructor û Needed to reset delegates
HandleNewGroupStat û Creates the new group stat commands
HandleNewStat û Creates the new stat command
FindStatIndex û Looks for where a stat should be inserted in the menu in order to maintain alphabetical order
SLevelViewport:
Modified the code so that the states of all the SimpleStats are saved so they can be restored next time the editor is ran (previously just handled FPS).
OnFloatingButtonClicked û Called whenever any of the level viewports floating buttons are clicked in order to correctly set the ælastÆ viewport global
OnToggleAllStatCommands û Called when the user selects æHide AllÆ from the viewport.
ToggleStatCommand û Called when the user selects any other stat option from the viewport.
BindStatCommand û Used to bind the menu action to the command name (used by delegate)

Added SLevelEditorViewportViewMenu (extends SEditorViewportViewMenu), and overrode GenerateViewMenuContent so that OnFloatingButtonClicked can be called whenever the menu is clicked on. This is also called during GenerateOptionsMenu, GenerateCameraMenu, GenerateShowMenu & OnToggleMaximize
Added global ptr GStatProcessingViewportClient (sim to Current, Last) used to keep track of which viewport the stat should be applied too (only valid within the scope of the Exec call).

FViewportClient:
Moved global ESoundShowFlags enum list into this class.
FCommonViewportClient:
Destructor û Needed to reset GStatProcessingViewportClient
FLevelEditorViewportClient
SetCurrentViewport û moved code responsible for setting the global æcurrentÆ viewport ptr into a func
SetLastKeyViewport û moved the code responsible for settings the global ælastÆ viewport ptr into a func
UGameViewportClient:
Destructor û Needed to cleanup delegate usage.
FViewportClient & FLevelEditorViewportClient & UGameViewportClient*
GetStatUnitData û The viewports copy of the variables needed when running the Stat Unit Exec
GetStatHitchesData û The viewports copy of the variables needed when running the Stat Hitches Exec
GetEnabledStats û Gets a list of all the stats which are enabled for the viewport
SetEnabledStats û Sets a list of all the stats which should be enabled for the viewport
IsStatEnabled û Checks to see if a specific stat is enabled for the viewport
SetStatEnabled û Sets a specifics stats state to enabled or disabled
GetSoundShowFlags û Gets which flags are enabled for the Stat Sounds Exec
SetSoundShowFlags û Sets which flags are enabled for the Stat Sounds Exec
HandleViewportStatCheckEnabled (delegate) û checks to see if a specific stat is enabled on this viewport
HandleViewportStatEnabled (delegate) û enables a specific stat for the viewport
HandleViewportStatDisabled (delegate) û disables a specific stat for the viewport
HandleViewportStatDisableAll (delegate) û disables all stats for the viewport
*FViewportClient has dummy virtual funcs and LevelEditor/Game both have the same implementations, the only differences is the GameViewports member variables are static so that the stat info persists between runs.

FLevelEditorViewportInstanceSettings deprecated bShowFPS in favour of an EnabledStats array (so we can track the state of all stats, not just FPS).
Added new config var bSaveSimpleStats: if enabled, restores previously enabled level viewport simple stats the next time the editor runs (defaults to false).

Modified FillShowFlagMenu so that thereÆs just one func and you specify where (if any) youÆd like a separator to occur.
Added FillShowStatsSubMenus so that menus can be generated which have submenus
Added the Stats sub menu to the View menu

Modified Execs so that the GStatProcessingViewportClient is set to the correct default viewport (if it wasnÆt specified), and clears again after itÆs been processed
HandleStatCommand now takes World and ViewportClient as params too û needed when Execs enabled other Execs so the world/viewport persists.
SetAverageUnitTimes û Added as a Setter func for GetAverageUnitTimes (moved code out of Stat Unit renderer and modified so that it only updates once per frame).

Stripped out all unneeded globals

[CL 2058522 by Andrew Brown in Main branch]
2014-04-29 04:04:27 -04:00
Thomas Sarkanen
3416cc1927 #ttp 331902 [GitHub] 33 : Scene Outliner: added filter "Only in Current Level"
authored by Ixiguis
https://github.com/EpicGames/UnrealEngine/pull/33

[CL 2044942 by Thomas Sarkanen in Main branch]
2014-04-23 18:36:28 -04:00
Matt Kuhlenschmidt
f8d7a92d27 #UE4 - Add option to ignore floor snapping when dragging from the content browser
[CL 2039745 by Matt Kuhlenschmidt in Main branch]
2014-04-23 17:29:03 -04:00
Max Preussner
2e86fc514e moved miscellaneous level editor settings into their own section
[CL 2038119 by Max Preussner in Main branch]
2014-04-23 16:34:21 -04:00
Max Preussner
dbfd063a44 moved remaining viewport settings from EditorUserSettings into LevelEditorViewportSettings class
[CL 2037996 by Max Preussner in Main branch]
2014-04-23 16:33:38 -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