Commit Graph

15 Commits

Author SHA1 Message Date
Martin Mittring
04fffa685e fixed clang warnings
[CL 2570957 by Martin Mittring in Main branch]
2015-05-29 15:18:47 -04:00
Richard TalbotWatkin
5d6675e2e2 Fixed Material Editor so that comment bubbles' toggle states are preserved when exiting the editor.
#jira UE-16029 - material editor node comment boxes go away every time you re-open material
#reviewedby Ben.Cosh, Matthew.Griffin

[CL 2570441 by Richard TalbotWatkin in Main branch]
2015-05-29 09:56:42 -04:00
Chris Wood
5707adde06 Fixed titles on Material editor nodes to update when the pin connections change.
[UE-15352] - Math Nodes are not updating on input

#change NodeConnectionListChanged() method in UMaterialGraphNode now clears the visualization cache on the schema triggering all FText attributes on the node's widgets to update.

[CL 2549543 by Chris Wood in Main branch]
2015-05-13 16:26:28 -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
Ben Cosh
c5166c2502 Reworked the comment commit code to restore functionality and handle material expression synchronisation correctly.
#UE-7369 - Giving a custom event node a comment will rename that node instead
#UE-7639 - Node comments are cleared when compiling or closing the blueprint
#UE-5661 - New [redundant] CommentBubble in material editor has bugs
#Branch UE4
#Proj Engine, UnrealEd, GraphEditor

#Info This change adds UEdGraphNode::OnUpdateCommentText to allow derived GraphNodes to hook into comment changes where neccesary. I've implemented this on the Material Expressions to address the initial change that resulted in the bugs.

#codereview Richard.TalbotWatkin

[CL 2410122 by Ben Cosh in Main branch]
2015-01-17 15:04:08 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Mike Beach
1b87f7d3ee Deprecating EdGraphNode's GetTooltip() (in exchange for one that returns FText over FString).
[CL 2283396 by Mike Beach in Main branch]
2014-09-03 18:14:09 -04:00
Mike Beach
768b7801d9 Adding a new method to graph nodes that determines if that node is compatible with certain graphs (split out functionality from CanPasteHere() so we can leverage it in the new blueprint menu system).
[CL 2242673 by Mike Beach in Main branch]
2014-08-04 12:39:34 -04:00
Matthew Griffin
fb7bcd87ff Adding documentation excerpt name and link for material nodes
Added Shared link to base class and override excerpt name in MaterialGraphNode so that it can associate documentation with the MaterialExpression type

[CL 2231476 by Matthew Griffin in Main branch]
2014-07-25 06:53:36 -04:00
Michael Schoell
788de6f349 Removed GetNodeNativeTitle from the editor entirely, now uses BuildSourceString to obtain the source string in a more reliable way.
#codereview Justin.Sargent

[CL 2114371 by Michael Schoell in Main branch]
2014-06-23 15:36:50 -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
Michael Schoell
0a41fb741e #summary Can search for nodes in the palette menu in Blueprints with both the native name and the localized name.
#add Added UEdGraphNode::GetNodeNativeTitle to return a native title for a node.
#add Added UEdGraphNode::GetNodeSearchTitle to return the native and localized title for a node, together, for searching.
#add Can hold "alt" over a node (in the graph panel, or the palette) to see the native name of the node.

#ttp 331252 - Blueprints: Editor: L10N: Blueprints need to consistently show localized node names and when searching need to search both the localized name and the native name

#codereview justin.sargent

[CL 2044506 by Michael Schoell in Main branch]
2014-04-23 18:30:37 -04:00
Matthew Griffin
5bc027a1a0 #ttp 315757 - EDITOR: ME2: Add Find results window similar to the Blueprint Editor
#proj UE4.Engine

#summary Added Find Results tab to Material Editor

#add Added SFindInMaterial class to search and display results from materials, similar to the Blueprint version but didn't seem like there was an obvious method of splitting it up into a base class that could be used by both. Made sure to use the search functions from Material Expressions as well to ensure that the results will be the same or better than they were previously.

#change Added new function to UMaterialExpression to get a one line description of it. Most of the time this is just all of the expressions captions combined into one line using spaces, though there were exceptions for constants, textures and function calls so that better information is shown in the results window. Also added a JumpToNode function to FMaterialEditor so that the find results can show the nodes when clicked on.

#extra This is only for searching the current material at present, adding support for searching all assets would be a lot more work as we would need to store meta data allowing materials to be searched before they are loaded.

[CL 2043640 by Matthew Griffin in Main branch]
2014-04-23 18:21:07 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00