Commit Graph

98 Commits

Author SHA1 Message Date
Michael Noland
11db89485f Graph Editor: Removed dead method ComputeSensibleGraphBounds from SNodePanel
[CL 2529477 by Michael Noland in Main branch]
2015-04-28 19:45:43 -04:00
Jamie Dale
9968a0a15c Some workflow and performance improvements for behavior trees and environmental queries
UETOOL-293 - Behavior Tree Editor is sluggish

- Made the behavior tree and environmental query pins larger so they're easier to grab.
- Adjusted the node padding so that we don't add the padding for the pins when there aren't any pins.
- Added lodding so that node elements are culled out as you zoom out (to improve performance).
- Fixed connections being culled when they were still visible.

[CL 2528547 by Jamie Dale in Main branch]
2015-04-28 11:13:20 -04:00
Ben Cosh
ac6b1e60da This modifies the comment balloons behavior on reroute nodes to be more inline other node comment balloons by enabling a toggle button and displaying by default when a comment is entered in the context menu.
#UE-12866 - Have node comments and reroute node comments act the same
#Branch UE4
#Proj Engine, GraphEditor

#includes some more general comment node / comment bubble fixes

[CL 2528202 by Ben Cosh in Main branch]
2015-04-28 04:58:34 -04:00
Ben Cosh
0dc3ecf817 Fix for broken comment node colors
#UE-14212 - Fortnite Branch: Colors no longer work on Blueprint comments
#Branch UE4
#Proj GraphEditor

[CL 2526760 by Ben Cosh in Main branch]
2015-04-27 06:45:26 -04:00
Jamie Dale
a7ba1dcd00 Back out changelist 2519615
[CL 2519619 by Jamie Dale in Main branch]
2015-04-21 14:13:02 -04:00
Jamie Dale
735bca0f8f WIP - Fixing behaviour tree culling and line drawing
[CL 2519615 by Jamie Dale in Main branch]
2015-04-21 14:12:32 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Michael Schoell
3f52b7d131 In "Region and Language" you can toggle localization of node and pins in all graph editors.
SNodeTitle no longer compares cached node titles to the title the node wants to be to determine a reconstruction, it checks if the schema wants to purge all cached node titles.

#jira UE-8371 - Change Editor language while leaving Blueprint Editor node & pin names in English

[CL 2508681 by Michael Schoell in Main branch]
2015-04-10 14:37:56 -04:00
Ben Cosh
f48004b3d8 Fix to remove the ability to toggle comment balloons in read only graphs.
#UE-13295 - Comment balloons can be toggled in read only graphs
#Branch UE4
#Proj GraphEditor

[CL 2508078 by Ben Cosh in Main branch]
2015-04-10 04:43:31 -04:00
Michael Schoell
73a4a605c3 Added a menu option when right clicking on Blueprint nodes to view node's documentation.
Moved the "GoToDocumentation" command from MaterialEditorCommands up to GraphEditorCommands.

#jira UE-11783 - Right click on BP nodes should offer link to API docs for node.

[CL 2506859 by Michael Schoell in Main branch]
2015-04-09 11:34:39 -04:00
Ben Cosh
a04ac2129c Fix for the comment nodes displaying comment balloons at fulldetail
#UE-13107 - Blueprint Editor: Newly-created Comments draw a redundant comment balloon on top by default
#UE-13301 - Comment depth is editable in the details panel for comment nodes
#Branch UE4
#Proj UnrealEd, GraphEditor

[CL 2505583 by Ben Cosh in Main branch]
2015-04-08 14:54:52 -04:00
Ben Cosh
e3d8fa61a3 Fix for reference viewer allowing users to edit the comment bubble text.
#UE-13446 - Reference viewer comments allow the user to edit the comment.
#Branch UE4
#Proj GraphEditor, ReferenceViewer

[CL 2505569 by Ben Cosh in Main branch]
2015-04-08 14:51:43 -04:00
Ben Cosh
3dc289b4d7 This change prevents comment balloons modifying text in read-only graphs.
#UE-13297 - Comment balloons are editable in readonly graphs
#Branch UE4
#Proj GraphEditor

[CL 2502574 by Ben Cosh in Main branch]
2015-04-06 08:39:28 -04:00
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