Commit Graph

31 Commits

Author SHA1 Message Date
Lina Halper
d4fa240f84 #ANIM: Added toolbar for preview/show ref pose
- Fixed ref pose to be edit mode

[CL 2607387 by Lina Halper in Main branch]
2015-07-01 09:36:43 -04:00
Michael Noland
ea2915f30c Animation: Changed the 'click to recompile AnimBP' prompt to call into Persona to do the recompile, causing the message log to be displayed/refreshed if there are warnings/errors during compilation [UE-17247]
[CL 2590717 by Michael Noland in Main branch]
2015-06-17 15:30:14 -04:00
Laurent Delayen
12f0bb89a4 [AUTOMERGE]
Fixed constructor property initialization order.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2489779 by Laurent.Delayen on 2015/03/24 15:38:05.

[CL 2489780 by Laurent Delayen in Main branch]
2015-03-24 15:39:04 -04:00
Laurent Delayen
f39624df32 [AUTOMERGE]
Turn Table feature for Persona's Viewport.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2489620 by Laurent.Delayen on 2015/03/24 14:32:04.

#codereview lina.halper

[CL 2489737 by Laurent Delayen in Main branch]
2015-03-24 15:16:57 -04:00
Martin Wilson
096710ddbb Option in Persona to toggle auto align floor to mesh bounds
[CL 2489088 by Martin Wilson in Main branch]
2015-03-24 06:39:23 -04:00
Michael Noland
2dc6d381ab Persona: Fixed a few whitespace/formatting issues
[CL 2487110 by Michael Noland in Main branch]
2015-03-20 22:33:55 -04:00
Martin Wilson
519a2eb803 Fix performance drop when multiple copies of Persona are open.
[CL 2485953 by Martin Wilson in Main branch]
2015-03-20 06:45:37 -04:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
Lina Halper
f87f4b2ef3 #ANIM: Add Animation editor setting to editor setting
[CL 2435781 by Lina Halper in Main branch]
2015-02-06 14:15:24 -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
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
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
Richard TalbotWatkin
177e21e40a Each viewport type maintains its own transform details, so that perspective/ortho viewports remember their settings when moving from one to another.
#jira UE-1330 - EDITOR: Scrolling in orthographic view moves camera location when returning to perspective view

[CL 2368376 by Richard TalbotWatkin in Main branch]
2014-11-24 12:49:20 -05:00
Hyojong Shin
93c4e2c807 Bone Controller Preview Feature - Applied to Two Bone IK, ModifyBone and Fabrik nodes for now
#code_review : Michael.Noland, Lina.Halper

[CL 2359834 by Hyojong Shin in Main branch]
2014-11-14 05:00:37 -05:00
Lina Halper
e108fbb56e #Animation Editing Feature
- If you select bone and modify, you can add to the additive layer track
- You can also move curve keys during SIE

[CL 2359126 by Lina Halper in Main branch]
2014-11-13 17:30:49 -05:00
Lina Halper
77d3d7f40e If ref pose, just disable editing. It doesn't work.
[CL 2339869 by Lina Halper in Main branch]
2014-10-24 10:55:38 -04: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
Lina Halper
c069b0f6e3 Improve Record Animation feature.
[CL 2327871 by Lina Halper in Main branch]
2014-10-13 18:29:11 -04:00
Martin Wilson
b7639ec472 Remove "Highlight Origin" from Persona as it doesnt work and wont be fixed any time soon
[CL 2318842 by Martin Wilson in Main branch]
2014-10-03 14:41:14 -04:00
Thomas Sarkanen
0f5a191571 Made sure widgets are tagged correctly in tabs
This allows tab content in workflow tabs to properly tag their content.
Viewports now use the metadata from their parent implementation if there is one.

NOTE: TTP listed will not be addressed until a build is promoted with this change and content is edited to fix the issue (i.e. re-tag the viewport).

TTP# 347538 - TUTORIALS: Animation Editor Walkthrough: Multiple Viewports are highlighted when it's trying to showcase the one in persona

[CL 2315651 by Thomas Sarkanen in Main branch]
2014-10-01 04:52:31 -04:00
Lina Halper
1ed6aaa87d - Animation Retargeting offline solution using rig
- Rig asset/Customization
- Retargeting Manager
- Support retargeting using the data

[CL 2295182 by Lina Halper in Main branch]
2014-09-12 11:37:36 -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
Benn Gallagher
14eb085b53 Removed animation viewport scrub panel from animation mode in Persona
[CL 2213904 by Benn Gallagher in Main branch]
2014-07-14 11:39:13 -04:00
Martin Wilson
b937ef5d2d Preview root motion in Persona
[CL 2169790 by Martin Wilson in Main branch]
2014-07-07 09:15:58 -04:00