Commit Graph

95 Commits

Author SHA1 Message Date
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00
Dmitry Rekman
0a772692dc Fixing one more name conflict.
- Missed in PR #778.

#codereview Sebastian.Kowalczyk

[CL 2425193 by Dmitry Rekman in Main branch]
2015-01-30 00:33:20 -05:00
Dmitry Rekman
de2169c577 Avoid symbol collision between two FSequencerTimeSliderControllers.
- Slightly different solution than PR #778 (lesser impact on code).

#codereview Sebastian.Kowalczyk

[CL 2424806 by Dmitry Rekman in Main branch]
2015-01-29 19:21:24 -05:00
sebastian kowalczyk
053081a517 Added oriented box shape to Visual Logger.
[CL 2408924 by sebastian kowalczyk in Main branch]
2015-01-16 11:24:46 -05:00
sebastian kowalczyk
fb1c799b03 Fixed issue when moving cursor on timelines outside time rande in LogVisualizer.
[CL 2408640 by sebastian kowalczyk in Main branch]
2015-01-16 07:07:42 -05:00
sebastian kowalczyk
11c7c012b0 Fixed tree expansion for status view tab in LogVisualizer.
[CL 2408620 by sebastian kowalczyk in Main branch]
2015-01-16 06:32:03 -05:00
sebastian kowalczyk
d6915147bf Fixes for visual logs and LogVisualizer:
- Fixed compilation warnings,
- fixes bug in vlogs serialization,
- fixed information about warnings and errors on timelines in LogVisualizer,
- fixed data reset in LogVisualizer

[CL 2408614 by sebastian kowalczyk in Main branch]
2015-01-16 06:25:10 -05:00
Stephan Delmer
6f7661f391 Merging using UE4-Fortnite-To-UE4 from CL 2403093
[CL 2407402 by Stephan Delmer in Main branch]
2015-01-15 11:57:16 -05:00
sebastian kowalczyk
ca53253636 Fixed crash in LogVisualizer.
[CL 2407264 by sebastian kowalczyk in Main branch]
2015-01-15 10:01:11 -05:00
sebastian kowalczyk
1da64949ca Bunch of internal changes to LogVisualize and added module interface to controll cursor location on timelines.
[CL 2407176 by sebastian kowalczyk in Main branch]
2015-01-15 06:19:24 -05:00
Nick Atamas
f5e19bef14 Slate : RelativeLayoutScale is now computed in the SlatePrepass(). ComputeDesiredSize() now takes a float parameter. API-breaking change!
[CL 2406629 by Nick Atamas in Main branch]
2015-01-14 19:04:45 -05:00
sebastian kowalczyk
90aced22f2 Added red and yellow colors for text lines with error or warning in LogVisualizer tool.
[CL 2404598 by sebastian kowalczyk in Main branch]
2015-01-13 09:05:11 -05:00
sebastian kowalczyk
f38f38f433 Fixed UE-7430 "Visual Logger Toolbar has extra divider"
[CL 2404472 by sebastian kowalczyk in Main branch]
2015-01-13 04:37:53 -05:00
sebastian kowalczyk
e0d333cfff Added extreme values for graphs in LogVisualizer (disabled by default and it can be enabled in settings)
[CL 2404471 by sebastian kowalczyk in Main branch]
2015-01-13 04:27:36 -05:00
sebastian kowalczyk
9c0476b5ee Fixes for horizontal scroll bar in LogVisualizer tool
Categories/filters highlights from selected item on timeline  in LogVisualizer tool

[CL 2403294 by sebastian kowalczyk in Main branch]
2015-01-12 07:48:45 -05:00
sebastian kowalczyk
f03a3a2da9 Fixed issue with missing small toolbar icons in LogVisualizer.
[CL 2401906 by sebastian kowalczyk in Main branch]
2015-01-09 09:30:56 -05:00
Steve Robb
0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Matt Kuhlenschmidt
8bd2b65b16 Fix visual logger command conflict with level save commands causing tooltips to appear incorrectly.
[CL 2399992 by Matt Kuhlenschmidt in Main branch]
2015-01-07 13:24:58 -05:00
sebastian kowalczyk
395f210254 Feature request for LogVisualizer:
- data reset for new PIE sessions (or for each new data loaded from file). This feature is disabled by default.
- fixes for  "stick to new data" feature, to work better with zoomed data, etc.
- tweaks and fixes for movement on timeline with keyboard
- fixed time range issues on timellines

[CL 2399729 by sebastian kowalczyk in Main branch]
2015-01-07 08:06:36 -05:00
Dan Hertzka
27c2559898 Updated editor viewports & editor viewport clients to allow for inertial movement and animated/lerped transitions when Slate is asleep
- SEditorViewportClient now has an additional optional parameter in its constructor for the SEditorViewport that the client is attached to
- SBasePoseViewport, SDestructibleMeshEditorViewport, and SPhATPreviewViewport were all updated to inherit from SEditorViewport (previously just inherited from SCompoundWidget)

[CL 2398765 by Dan Hertzka in Main branch]
2015-01-06 11:09:55 -05:00
sebastian kowalczyk
17d03c8bcb Implemented option to stay always on the last frame in LogVisualizer. It can be enabled in LogVisuallizer settings.
[CL 2393785 by sebastian kowalczyk in Main branch]
2014-12-19 10:46:17 -05:00
sebastian kowalczyk
cab916949c We can have nest multiple levels of collapsible status information in LogVisualizer.
[CL 2392705 by sebastian kowalczyk in Main branch]
2014-12-18 12:12:43 -05:00
Ben Marsh
78735a771a Fix some 2014 copyright notices that have crept in.
[CL 2392643 by Ben Marsh in Main branch]
2014-12-18 11:47:29 -05:00
sebastian kowalczyk
66816b0ffb Bunch of fixes for LogVisualizer and added two new features to this tool:
- Filters can be presistent even between editor sessions (option for this in settings)
- Option to filter logs by owner class

[CL 2392383 by sebastian kowalczyk in Main branch]
2014-12-18 08:37:06 -05:00
Dan Hertzka
c042ddcb94 ---- Merging with SlateDev branch ----
Introduces the concept of "Active Ticking" to allow Slate to go to sleep when there is no need to update the UI.

While asleep, Slate will skip the Tick & Paint pass for that frame entirely.
- There are TWO ways to "wake" Slate and cause a Tick/Paint pass:
    1. Provide some sort of input (mouse movement, clicks, and key presses). Slate will always tick when the user is active.
        - Therefore, if the logic in a given widget's Tick is only relevant in response to user action, there is no need to register an active tick.
    2. Register an Active Tick. Currently this is an all-or-nothing situation, so if a single active tick needs to execute, all of Slate will be ticked.

- The purpose of an Active Tick is to allow a widget to "drive" Slate and guarantee a Tick/Paint pass in the absence of any user action.
    - Examples include animation, async operations that update periodically, progress updates, loading bars, etc.

- An empty active tick is registered for viewports when they are real-time, so game project widgets are unaffected by this change and should continue to work as before.

- An Active Tick is registered by creating an FWidgetActiveTickDelegate and passing it to SWidget::RegisterActiveTick()
    - There are THREE ways to unregister an active tick:
        1. Return EActiveTickReturnType::StopTicking from the active tick function
        2. Pass the FActiveTickHandle returned by RegisterActiveTick() to SWidget::UnregisterActiveTick()
        3. Destroy the widget responsible for the active tick

- Sleeping is currently disabled, can be enabled with Slate.AllowSlateToSleep cvar
- There is currently a little buffer time during which Slate continues to tick following any input. Long-term, this is planned to be removed.
    - The duration of the buffer can be adjusted using Slate.SleepBufferPostInput cvar (defaults to 1.0f)

- The FCurveSequence API has been updated to work with the active tick system
    - Playing a curve sequence now requires that you pass the widget being animated by the sequence
    - The active tick will automatically be registered on behalf of the widget and unregister when the sequence is complete
    - GetLerpLooping() has been removed. Instead, pass true as the second param to Play() to indicate that the animation will loop. This causes the active tick to be registered indefinitely until paused or jumped to the start/end.

[CL 2391669 by Dan Hertzka in Main branch]
2014-12-17 16:07:57 -05:00