Commit Graph

309 Commits

Author SHA1 Message Date
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
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Marc Audy
4562acb429 Fix shadow variables
[CL 2507160 by Marc Audy in Main branch]
2015-04-09 15:23:52 -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
958c416353 Fix for missing comment bubbles on nodes
#UE-11414 - Blueprint array nodes do not display comments
#Branch UE4
#Project GraphEditor

[CL 2505576 by Ben Cosh in Main branch]
2015-04-08 14:53:10 -04:00
Ben Cosh
bc1ef30d69 This changes the comment balloons and context comment text boxes to require ctrl + enter for newlines to match editor standards.
#UE-6148 - Pressing "enter" in a node comment bubble moves cursor to a new line instead of submitting text
#Branch UE4
#Proj Engine, GraphEditor

[CL 2505575 by Ben Cosh in Main branch]
2015-04-08 14:52:36 -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
7ce2a96c63 This change enables comment balloon coloring set in the preferences and restores the comment node option to enable coloring.
#UE-13299 - Comments and comment balloons don't obey colors set in editor preferences
#Branch UE4
#Proj BehaviourTreeEditor, EnvironmentQueryEditor, GraphEditor

#codereview Dan.Oconnor

[CL 2505562 by Ben Cosh in Main branch]
2015-04-08 14:48:01 -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
Ben Cosh
3e32ad6d9c Updated the comment balloon text hint to make use of the recently implemented interface in SMultiLineEditableTextBox.
#UE-13108 - Blueprint Editor: Problems with editing comment balloons inline
#Branch UE4
#Proj GraphEditor

[CL 2502546 by Ben Cosh in Main branch]
2015-04-06 08:03:53 -04:00
Ben Cosh
964f7959eb This change prevents comment balloon toggle button from displaying inside read only graphs.
#UE-13295 - Comment balloons can be toggled in read only graphs
#Branch UE4
#Proj GraphEditor

[CL 2502537 by Ben Cosh in Main branch]
2015-04-06 07:48:17 -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
5f3f433198 Can drag and drop pins onto a variety of K2Node_EditablePinBase nodes to add pins to them.
Shifted a lot of pin adding functionality from Blueprint Details customizion to the nodes themselves or BlueprintEditorUtils.

#jira UE-11334 - Dragging a pin to a node that can add pins (function entry/exit, custom events...) should add a pin of the type to the node.

[CL 2497224 by Michael Schoell in Main branch]
2015-03-31 10:32:10 -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
Dan Oconnor
06806b2237 PR #946: Fixing PVS-Studio warning (Contributed by PaulEremeeff)
https://github.com/EpicGames/UnrealEngine/pull/946

I have gone through these changes and verified that whatever behavior change they cause could only be an improvement (generally they just prevent possible access to nullptrs, but there are also some style corrections). A separate changelist is being prepared that includes changes that could unintentionally caues behavior change for the worse.

[CL 2486801 by Dan Oconnor in Main branch]
2015-03-20 17:18:31 -04:00
Michael Noland
bebc65d89f Graph Editor: Split out SGraphPinInteger from SGraphPinNum to push schema checking into the NodeFactory where it belongs
- Fixed SGraphPinNum::Construct skipping its direct parent

[CL 2485418 by Michael Noland in Main branch]
2015-03-19 18:56:54 -04:00
Michael Noland
e01fb87283 Graph Editor: Added a TODO on some duplicated constants
[CL 2485008 by Michael Noland in Main branch]
2015-03-19 15:28:19 -04:00
Michael Noland
da5d18f983 Graph Editor: Add a shortcut to create reroute nodes by double-clicking on BP spline connections
[CL 2484035 by Michael Noland in Main branch]
2015-03-18 23:32:57 -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
Maciej Mroz
70ac83f627 CIS fix
[CL 2483837 by Maciej Mroz in Main branch]
2015-03-18 20:17:21 -04:00
Saul Abreu
f1d9a34b44 Fixed a build warning-promoted-to-error in SGraphPin's constructor regarding out of order initialization of some members.
[CL 2483833 by Saul Abreu in Main branch]
2015-03-18 20:13:37 -04:00