Commit Graph

85 Commits

Author SHA1 Message Date
Michael Noland
119b4b02b2 Graph Editor: Changed how spline hovering stores data, avoiding direct pin pointers beyond the frame
[UE-13270]

[CL 2501422 by Michael Noland in Main branch]
2015-04-03 14:40:58 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Michael Schoell
11bbd9aa06 Using the up and down arrow keys for selection in the MyBlueprint window will correctly select them.
Refactored logic for what selection type is allowed in a SGraphActionMenu to the widgets that react to the selection.

#jira UE-11644 - Selected BP Variables do not refresh details properly

[CL 2493909 by Michael Schoell in Main branch]
2015-03-27 11:43:37 -04:00
Michael Noland
1e20822ef3 Graph Editor: Enable direct spline interactions by default
[CL 2490227 by Michael Noland in Main branch]
2015-03-25 00:20:43 -04:00
Michael Noland
11a6f30422 Graph Editor: Add tool tip display to hovered splines
[CL 2483985 by Michael Noland in Main branch]
2015-03-18 22:45:35 -04:00
Michael Noland
3c77014348 Graph Editor: Add experimental support for hovering and interacting with splines
- Currently gated by a setting in Editor Preferences..Graph Editors
- Alt+LMB Click on the spline to break the connection
- Ctrl+LMB Click on the spline to move the connection to a different pin
- Hover over the spline to highlight it

[CL 2483923 by Michael Noland in Main branch]
2015-03-18 21:37:27 -04:00
Marc Audy
a425eba9ed Unify Slate's FInputGesture and Engine's FInputChord as FInputChord defined in Slate
[CL 2481648 by Marc Audy in Main branch]
2015-03-17 11:36:28 -04:00
Ben Cosh
3d8d167250 Added the ability to pin re-route node comment bubbles to resolve conflicting user requests.
#UE-7910 - Pin-able Reroute Node Comments
#Branch UE4
#Proj GraphEditor, EditorStyle

[CL 2481434 by Ben Cosh in Main branch]
2015-03-17 08:44:54 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Michael Schoell
e822095587 Removed "Edit Tunnel" context menu option from collapsed graph nodes as it no longer did anything.
[CL 2460653 by Michael Schoell in Main branch]
2015-02-25 14:20:57 -05:00
Michael Noland
7699105221 GraphEditor: Add support for direction flipping for reroute nodes that travel backwards
- Move PinGeometries to be a member variable of FConnectionDrawingPolicy
- Known issue: The preview wire doesn't flip directions until it is connected to something

[CL 2457370 by Michael Noland in Main branch]
2015-02-23 19:04:42 -05:00
Matthew Griffin
8ccae5aec7 [INTEGRATE] Change 2442643 by Michael.Schoell@Phosphor_M_Schoell on 2015/02/11 19:07:13
Blueprints now start with basic nodes, in a disabled state that will not be compiled. These nodes will auto-enable if you connect another node to them.

	#jira UE-7189 - Make sure that newly created Blueprints always have a nice starting point

[CL 2448803 by Matthew Griffin in Main branch]
2015-02-17 11:23:23 -05:00
Ben Marsh
53eb9ed042 [INTEGRATE] Change 2419179 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/26 16:37:54
Fixed Compile errors from rename.
	Updated tooltips for SCSEditor.
	#codereview philip.Kavan

[CL 2419758 by Ben Marsh in Main branch]
2015-01-26 20:25:05 -05:00
Ben Marsh
67dd3b31d0 [INTEGRATE] Change 2417546 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/23 19:26:20
Move the SCS Root Actor into the treeview.

[CL 2419680 by Ben Marsh in Main branch]
2015-01-26 20:10:05 -05:00
Ben Marsh
f3c6346646 [INTEGRATE] Change 2412123 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/20 09:13:57
Fix Mac build errors.

	#codereview Nick.Darnell

[CL 2419401 by Ben Marsh in Main branch]
2015-01-26 18:21:12 -05:00
Ben Marsh
4d5c52456e [INTEGRATE] Change 2411381 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/19 16:39:31
Editor - Adding the unified blueprint editor view.  Combines all the modes into a single blueprint editor.  Still requires being enabled through the experimental option in the editor.

[CL 2419336 by Ben Marsh in Main branch]
2015-01-26 17:51:00 -05:00
Dan Oconnor
700b762cc9 FBlurpint::OnChanged split into OnCompiled and OnChanged. Only difference is that we don't call RefreshEditors in the case of OnCompiled (we manually update displayed error information on the graph nodes)
Added Stats
Fixed bad delegate logic in BlueprintActionDatabase

[CL 2407793 by Dan Oconnor in Main branch]
2015-01-15 15:57:51 -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
Michael Noland
c97e8231bb GraphEditor: Refactored connection drawing policy API to be more flexible, passing a parameter structure around instead of loose values (FConnectionParams)
Remove duplicated implementations of DrawConnection in subclasses that draw non-curved splines, overriding ComputeSplineTangent instead
Upgrade note: Any editor plugins that contain a FConnectionDrawingPolicy subclass will need to update calls to DrawSplineWithArrow, DrawConnection, and DetermineWiringStyle

[CL 2402661 by Michael Noland in Main branch]
2015-01-10 00:31:36 -05:00
Jason Hoffman
da0135c075 Added keybinding for zooming in graph editor per UE-6527 Blueprints: Can't zoom in and out without a mouse wheel (not keybindable)
[CL 2401081 by Jason Hoffman in Main branch]
2015-01-08 12:33:34 -05:00
Jamie Dale
bbb0624bff Fixed code relying on SLATE_TEXT_ATTRIBUTE for tooltips.
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 2401019 by Jamie Dale in Main branch]
2015-01-08 11:35:01 -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
Ben Cosh
1e8e5b2552 This expands recent work to resolve comment depths of all comments in a region when a single comment node is moved to that region.
#UE-3724 - LIVE: BP: If a comment box is created inside of another larger comment box the smaller box is no longer editable
#Branch UE4
#Proj GraphEditor

[CL 2397421 by Ben Cosh in Main branch]
2015-01-05 08:54:17 -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