Commit Graph

9 Commits

Author SHA1 Message Date
Simon Tovey
82b5e63e4c Material overhead stats check/ensure fix.
Fixes the underlying issue with the material overhead stats.

Usage flags for the material were set from outside the material editor. I needed to update the overhead stats materials to match.

#codereview Nick.Penwarden, Bob.Tellez

[CL 2047768 by Simon Tovey in Main branch]
2014-04-23 19:10:05 -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
Martin Wilson
eb67584f33 Fortnite nonunity fixes
[CL 2044496 by Martin Wilson in Main branch]
2014-04-23 18:30:12 -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
Simon Tovey
657b0dc6ed Changed a check to an ensure as it seems to be firing occasionally.
[CL 2043214 by Simon Tovey in Main branch]
2014-04-23 18:15:40 -04:00
Justin Sargent
0bc686f251 Fixed up redundant FText .ToString() usage and some improper FText usage.
[CL 2042623 by Justin Sargent in Main branch]
2014-04-23 18:06:41 -04:00
Simon Tovey
fd834c5358 #ttp 331362 - CRASH: EDITOR: Occurs when attempting to open a material layer within the parented material of a material instance constant.
#branch UE4

#proj Engine

#summary Disabled overhead stats for expression preview material.

[CL 2040617 by Simon Tovey in Main branch]
2014-04-23 17:43:00 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00