Commit Graph

313 Commits

Author SHA1 Message Date
Simon Tovey
0453945bb0 UE-14522 - Unlit materials no longer make use of the normal input thus making it impossible to use modified normals to modify refraction on unlit materials
The material side of this was actually working. When the refraction input is connected, the normal pin is active. The issue was just visual.
Material result node pin widgets were caching their colour on construction. Changed to recalculate each frame.

[CL 2529948 by Simon Tovey in Main branch]
2015-04-29 05:45:13 -04:00
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
c8bdd05cdc This changes the dark background on the documentation nodes to something lighter so the text can be read more easily.
#UE-14516 - Documentation Node Text Not Legible
#Branch UE4
#Proj GraphEditor

[CL 2528382 by Ben Cosh in Main branch]
2015-04-28 09:00:44 -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
Michael Schoell
ef74111bf9 Editor should not stall when pasting large amounts of text into the Blueprint node context menu filter.
#jira UE-11436 - Hang after you paste node data into Blueprint right click menu

[CL 2527289 by Michael Schoell in Main branch]
2015-04-27 15:09:27 -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
Michael Noland
56943257fe Graph Editor: Allowed interacting with splines when they overlap with a comment node [UE-13021]
[CL 2521705 by Michael Noland in Main branch]
2015-04-22 16:40:05 -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
efcc3d35b7 Fixed graph nodes sometimes not opening a rename when created
Changed the way that renames are initiated to depend on the event structure passed in, rather than keyboard focus
This addresses UE-9950.

[CL 2519070 by Andrew Rodham in Main branch]
2015-04-21 08:43:00 -04:00
Michael Schoell
ef73facb3f Sub-items in the My Blueprint panel will no longer be mis-categorized into the Function's section.
Category grouping is no longer relevant for matching to sub-items. In the same section, never want two categories of the same name.

#jira UE-13995 - Crash when renaming AnimGraph function in AnimBP

[CL 2518112 by Michael Schoell in Main branch]
2015-04-20 15:39:11 -04:00
Michael Schoell
abb8124662 Keywords metadata is now localized.
Blueprint node searching now leverages localized keyword metadata for searching, so searches can now be done in the current langauge and English to find the same nodes.

#jira UE-12049 - Using translated editor, Blueprint node search returns differ for English search terms compared to search terms in the current language

#codereview justin.sargent

[CL 2517785 by Michael Schoell in Main branch]
2015-04-20 12:25:37 -04:00
Michael Schoell
73b396722e Variable Get nodes can be toggled between pure and impure which will branch logic based on value validity, if they are of type Object and a non-array.
#jira UE-9592 - Add an "impure" variable get node, with IsValid check built in

[CL 2514819 by Michael Schoell in Main branch]
2015-04-16 15:35:15 -04:00
Michael Schoell
63b7360ae0 Removed the Blueprint Editor's legacy node menu system.
#jira UE-13391 - Delete old BP menu system (is causing confusion)

#codereview Mike.Beach

[CL 2514361 by Michael Schoell in Main branch]
2015-04-16 11:47:54 -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
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
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