Commit Graph

29 Commits

Author SHA1 Message Date
Michael Noland
ace4cfdc44 Content Browser: Added F prefix to FAssetFilterType and FAssetFilterCollectionType, and removed a redundant declaration
[CL 2508793 by Michael Noland in Main branch]
2015-04-10 15:39:07 -04:00
Frank Fella
4d9bb2acaf Persona - Prevent a crash when renaming animation assets.
[CL 2468085 by Frank Fella in Main branch]
2015-03-03 16:30:38 -05:00
Matthew Griffin
4a8782e169 [INTEGRATE] Change 2442741 by Michael.Noland@mnoland-T2784-Reference on 2015/02/11 20:45:29
Persona: Rename Persona 'Defaults' panel to Preview panel and rebuild it on a SSingleObjectDetailsPanel instead of an SKismetInspector, fixing selection update issues

	Blueprint Editor: Remove some now-dead methods and replace some raw strings with GET_MEMBER_NAME_CHECKED references

	Persona: Prevent editing preview properties when stopped at a breakpoint, as it was outright dangerous if the parent class had a Pre- or PostEditChange implementation, and otherwise generally unwise

	Persona: Hide back/fowards buttons in SAnimationSequenceBrowser when in Anim Blueprint edit mode, as they take up a lot of vertical space but provide no value

	[UE-9498]

[CL 2448804 by Matthew Griffin in Main branch]
2015-02-17 11:24:27 -05:00
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
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
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 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00
Dan Hertzka
1ce19a5ffa Full rename of the Slate "active tick" system to "active timer"
[CL 2394301 by Dan Hertzka in Main branch]
2014-12-19 17:44:49 -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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Michael Noland
6573fc933a Editor: Pushed basic ModeTools support into FEditorViewportClient
[CL 2378053 by Michael Noland in Main branch]
2014-12-05 15:08:09 -05:00
Benn Gallagher
21490b9128 Fixed Persona crash when invoking the preview tooltip without a preview mesh. Viewport hidden and message about the preview mesh displayed
[CL 2355840 by Benn Gallagher in Main branch]
2014-11-11 09:47:45 -05:00
Lina Halper
c069b0f6e3 Improve Record Animation feature.
[CL 2327871 by Lina Halper in Main branch]
2014-10-13 18:29:11 -04:00
Nick Atamas
b1b18a2eaf Fixing some dubious uses of slate that will be deprecated shortly.
[CL 2325847 by Nick Atamas in Main branch]
2014-10-10 15:37:56 -04:00
Lina Halper
83326cf098 Support preview mesh per asset.
This is only used when opening persona first time. It doesn't switch mesh whenever you open.

[CL 2321821 by Lina Halper in Main branch]
2014-10-07 16:59:38 -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
Benn Gallagher
b9e4b5b2c4 Fixed Persona mouse hover previews being frozen, viewport visibility delegate provided.
[CL 2314128 by Benn Gallagher in Main branch]
2014-09-30 08:45:54 -04:00
Lina Halper
47067096f6 - Fixed the window to function again without being modal
- Fixed issue with when non-existing node convert between

[CL 2300181 by Lina Halper in Main branch]
2014-09-16 17:47:16 -04:00
Lina Halper
a23a5bff30 Retarget window cleanup
- Added viewport
- Added option to show only compatible ones - on by default

[CL 2298990 by Lina Halper in Main branch]
2014-09-15 21:13:36 -04:00
Hyojong Shin
93fa69b98c TTP #342758 : Feature Request: PERSONA: Ability to reimport animations in asset browser with right click
[CL 2297746 by Hyojong Shin in Main branch]
2014-09-15 03:09:05 -04:00
Martin Wilson
e836944447 Fix crash when retargetting assets that have no skeleton
#codereview Lina.Halper

[CL 2264392 by Martin Wilson in Main branch]
2014-08-20 12:08:02 -04:00
Lina Halper
83857406ca Added Convert Space for animation remapping feature.
When remap to new skeleton, you can check the option to "Convert spaces", and it will convert it correctly. It only works if they both have same shape of bind pose.

#code review: Martin.Wilson

[CL 2244367 by Lina Halper in Main branch]
2014-08-05 11:30:09 -04:00
Lina Halper
a12085215c Fix for crash on create animation for other skeleton
[CL 2236342 by Lina Halper in Main branch]
2014-07-29 17:33:51 -04:00
Benn Gallagher
fa843e4e52 Altered animation asset setup for floating preview windows to force play the animation; otherwise certain assets would cause the preview to stop updating for other assets.
[CL 2229788 by Benn Gallagher in Main branch]
2014-07-24 08:29:38 -04:00
Benn Gallagher
a0f01a1ee7 Added animated preview viewports to Persona asset browser tooltips
#codereview martin.wilson

[CL 2226941 by Benn Gallagher in Main branch]
2014-07-22 09:54:58 -04:00
Lina Halper
14b8e23e7f - Added Create Asset toolbar
- Consolidated code between asset skeleton and toolbar
- Added Asset Picker to suppoert Sync To Assets

[CL 2226236 by Lina Halper in Main branch]
2014-07-21 20:47:01 -04:00
Lina Halper
599e7b57a3 Removing bLoopingInterpolation
#Code review: Michael.Noland, Laurent.Delayen

[CL 2125151 by Lina Halper in Main branch]
2014-07-02 14:44:16 -04:00