Commit Graph

21 Commits

Author SHA1 Message Date
Fred Kimberley
27c0402283 Integrating changes from the Fortnite branch up to CL 2318231.
Merging using UE4-Fortnite-To-UE4

[CL 2321212 by Fred Kimberley in Main branch]
2014-10-07 09:53:56 -04:00
Ben Cosh
a8c830c180 Removing debug spam committed in 2320435
[CL 2320442 by Ben Cosh in Main branch]
2014-10-06 16:53:20 -04:00
Ben Cosh
4fefc3735e Reducing the GuardBand on the node clipping because it seems wasteful and we have performance issues on big graphs.
#Branch UE4
#Proj GraphEditor

[CL 2320435 by Ben Cosh in Main branch]
2014-10-06 16:48:18 -04:00
Mike Beach
62e585cb03 Consolidating where we call UEdGraphNode::AddNode() for newly spawned nodes (to avoid duplicated code... centralized in UBlueprintNodeSpawner).
[CL 2314667 by Mike Beach in Main branch]
2014-09-30 14:13:40 -04:00
Nick Atamas
057f48f25b Slate: Removed legacy operator() from FArrangedWidgets in favor of operator[]. Fixed uses cases.
[CL 2270701 by Nick Atamas in Main branch]
2014-08-25 12:51:49 -04:00
Michael Schoell
1703ebd57a Holding Alt+RMB in a graph panel will zoom on the initial mouse position instead of the corner of the panel.
#ttp 343146 - BP: NUX:  Alt+RMB zooming is wonky

[CL 2248761 by Michael Schoell in Main branch]
2014-08-08 14:49:33 -04:00
Michael Trepka
ee353ed1d1 Fixed some issues with Ctrl+{Key} shortcuts on Mac
[CL 2237306 by Michael Trepka in Main branch]
2014-07-30 14:31:25 -04:00
Nick Atamas
badf62c330 Slate slots now use a common base class, which has a private '.Widget' member; use GetWidget() instead.
Slate TPanelChildren, TSlotlessChildren are no longer full-fledged arrays; removed any unused Array API.
Fixed up a lot of improper use cases.

This better encapsulates the action of adding/removing Slate Widgets from the runtime tree as a Slate Core concern.
Alows us to add parent pointers in the future with significantly less effort.

#codereview Wes.Hunt
#codereview Nick.Darnell
#codereview Matt.Kuhlendschmidt
#codereview Justin.Sargent

[CL 2234301 by Nick Atamas in Main branch]
2014-07-28 06:53:40 -04:00
Thomas Sarkanen
ff7d2bdb1b Added Behavior Tree execution order index widgets
Added new widget overlay system for graph panels, designed to allow more flexibilty than the current brush-only implementation. This requred a small refactor to avoid the assumption that all child widgets of an SNodePanel are SNodes (and because there is no usable RTTI present).

Added index widget overlay to BT graph nodes.

Added flag to parent nodes to allow us to change the appearance of child nodes when another child is hovered.

TTP# 339733 - Editor: Behaviour Tree: Add better execution order indicators

reviewed by Lukasz.Furman

[CL 2226658 by Thomas Sarkanen in Main branch]
2014-07-22 04:03:40 -04:00
Michael Trepka
5097b0e10c Improved RMB handling in SNodePanel for Magic Mouse and trackpad
[CL 2222518 by Michael Trepka in Main branch]
2014-07-17 15:10:02 -04:00
Michael Trepka
ed17805fe7 Fixed issues with zooming blueprint and material editor viewports with Magic Mouse
[CL 2219466 by Michael Trepka in Main branch]
2014-07-15 13:26:50 -04:00
Michael Trepka
3318bdb7e6 Improved trackpad magnify gesture responsiveness in SNodePanel
[CL 2176786 by Michael Trepka in Main branch]
2014-07-08 18:23:55 -04:00
Richard TalbotWatkin
af3fcd5b99 Removed code to clamp the graph focus position to the bounding box of all graph nodes, as it creates a jarring visual glitch, particularly in an empty graph.
#ttp 332013 - The scroll wheel doesnt work properly in the material editor when a large comment box is created
#ttp 339978 - Graph Editor's Zoom to Cursor is super weird (bad) compared to ortho viewport's (good)
#branch UE4
#proj Editor.GraphEditor
#reviewedby Max.Preussner

[CL 2136463 by Richard TalbotWatkin in Main branch]
2014-07-04 05:07:00 -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
Wes Hunt
c7ba265891 Slate API Updates
* Paint is now the non-virtual entry point to OnPaint to support required pre/post functionality. Widgets override OnPaint as usual, but calls to tell a widget to paint should be "Paint" not "OnPaint".
* ArrangeChildren -> OnArrangeChildren. ArrangeChildren is now the non-virtual entry point for the same reason as Paint/OnPain.
* OnPaint and OnArrageChildren are now private so they are not accidentally called.
* Added Stats for Paint time and ArrangeChildren time.
#BUN
#codereview:nick.atamas,max.preussner

[CL 2086158 by Wes Hunt in Main branch]
2014-05-29 17:18:37 -04:00
Michael Trepka
573b126f35 Updated SNodePanel::OnMouseMove() so it does zoom on Mac trackpads and Magic Mouse when right mouse button is down.
[CL 2075681 by Michael Trepka in Main branch]
2014-05-16 12:53:12 -04:00
Michael Trepka
475012b9dd Added trackpad gestures support to blueprint and material editors
[CL 2071718 by Michael Trepka in Main branch]
2014-05-13 12:15:52 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Ben Cosh
e90a7467ff Added a movement filter to the node movement call, which now adds any successfully moved nodes. This prevents duplicate movement if two selected comments try to move the same node.
#TTP 314475 - k2: comment boxes within other comment boxes do not move if the outer most box is moved. Also, if two nested comment boxes are moved, the nodes within move 2x as much as they should (video)
#Branch UE4
#Proj GraphEditor, BehaviourTreeEditor

#Add SNodePanel::SNode::FNodeSet typedef for conveniance and clarity
#Change Changed SNodePanel::MoveTo to take an FNodeSet as an exclusion filter on the moved nodes, once moved nodes are appended into this set.

CodeReview Chris.Wood, Nick.Whiting

[CL 2064255 by Ben Cosh in Main branch]
2014-05-06 04:45:44 -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