Commit Graph

188 Commits

Author SHA1 Message Date
Mieszko Zielinski
a791188fd1 Changed two checks in Blackboard Editor to error messages #UE4
UE-20216

[CL 2664483 by Mieszko Zielinski in Main branch]
2015-08-21 11:22:42 -04:00
Dan Oconnor
f44d605357 Further optimizations to blueprint context menu constrution. Avoiding copying strings, recalculation of categories.
[CL 2661618 by Dan Oconnor in Main branch]
2015-08-19 16:36:07 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
Steve Robb
7661666dcb Error when a module is both a dependency and dynamically loaded.
Fixes for lots of existing modules by removing all dynamically loaded duplicates (this is probably not the correct solution, but is the safest).

#codereview robert.manuszewski

[CL 2610845 by Steve Robb in Main branch]
2015-07-06 05:46:20 -04:00
Michael Noland
4c3276c5b6 Graph Editing: Renamed UEdGraphNode::NodeWidget DEPRECATED_NodeWidget to indicate it should not be used in future code since the assumption that at most a single graph editor is viewing a UEdGraph is not valid
(existing uses have been updated to the new name but not refactored yet)

[CL 2606946 by Michael Noland in Main branch]
2015-06-30 22:14:13 -04:00
Mieszko Zielinski
42afe0509a Moved AI asset types into a separate AI category in content browser's asset creation menu #UE4
#codereview matt.kuhlenschmidt

[CL 2581284 by Mieszko Zielinski in Main branch]
2015-06-09 10:42:15 -04:00
Lukasz Furman
353e7b80c1 hidden deprecated blackboard key classes in editor's dropdown list
#ue4 UE-9682

[CL 2579757 by Lukasz Furman in Main branch]
2015-06-08 05:04:22 -04:00
Jamie Dale
f7b3c5cd29 Added collection information to the asset and asset editor tooltips
UETOOL-332 - Collections 2.0
UETOOL-367 - Show which collections are on an asset

[CL 2560709 by Jamie Dale in Main branch]
2015-05-21 09:23:51 -04:00
Mieszko Zielinski
432b59dd58 Added a safety check to Blackboard Editor's key selection #UE4
UE-15693

[CL 2553542 by Mieszko Zielinski in Main branch]
2015-05-15 17:02:12 -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
Jamie Dale
78a3541521 Fixed FBehaviorTreeDebugger::PausePlaySession and FBehaviorTreeDebugger::ResumePlaySession not guarding against re-entrancy
[CL 2549228 by Jamie Dale in Main branch]
2015-05-13 13:59:38 -04:00
Jamie Dale
339d6f8600 Behavior Tree debugger improvements
UETOOL-298 - The "step into"/out/over buttons in the Behavior Tree enable and disable all the time

The "Back: Over" and "Forward: Over" step options are now able to perform a step that means they move back up to a parent tree. Previously this was being disallowed as the they were incorrectly treating that as entering a sub-tree.

If you pause your PIE session, the behavior tree debugger will now make sure and open the correct graph. Previously you could pause while within a sub-tree and the view would be left on the parent graph.

[CL 2547021 by Jamie Dale in Main branch]
2015-05-12 07:18:38 -04:00
Michael Schoell
db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00
Michael Schoell
2043b596a8 Various graphs that looked disabled, will now correctly display as Read Only but can be panned and nodes are selectable.
Reworked how graphs were disabled to stop all out disabling of the SGraphPanel while still maintaining the visual display of being read-only.

Removed concept of TitleBarEnabledOnly from the graph editor and merged it with the IsEditable functionality.

#jira UE-10289  - Changing Blueprint Interface layout can shift nodes out of view

[CL 2535806 by Michael Schoell in Main branch]
2015-05-04 11:08:14 -04:00
Jamie Dale
0ca520a77e Improved diffing of behavior tree graphs
UETOOL-292 - Diffing of Behavior Trees doesn't work correctly

- Added support for diffing decorators and services.
- Ensured that you could see the properties of services and decorators in the diff tool.
    - This is now using common code shared with the behavior tree editor (to avoid this getting out of sync again).
- Fixed an issue where nodes containing changes could still be drawn faded out.
    - The "DiffR_" functions in GraphDiffControl weren't marking the node as changed since the diff results couldn't hold the information.
- Fixed SNodePanel::DeferredMovementTargetObject always moving the selection into view (rather than itself).
- Added a way to move to a node without also selecting it (SNodePanel::CenterObject).
    - This is needed as decorators and services don't exist as top-level nodes in the SNodePanel, so can't be centered on. We instead have to center on their container node.
- Added a way to control what items you want to diff.
    - This helps when checking for nodes that have been removed, as you can now avoid having to re-check all the other properties on the node, and just check for their existence (or lack thereof).

[CL 2533378 by Jamie Dale in Main branch]
2015-05-01 06:38:56 -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
Lukasz Furman
7189f23ffe fixed duplicated subnodes in behavior tree editor
#ue4 UE-14368

[CL 2524029 by Lukasz Furman in Main branch]
2015-04-24 04:41:17 -04:00
Jamie Dale
9d912e51dc FText::AsNumber usability and performance improvements
FNumberFormattingOptions now provides a convenient way to create a default number formatter that doesn't use grouping (FNumberFormattingOptions::DefaultNoGrouping()), as well as one that does (FNumberFormattingOptions::DefaultWithGrouping()).

This also improves the performance when using the default formatting options, by caching the formatters used by those options. This helps greatly when using Blueprint formatting (see KismetTextLibrary.cpp) as these were always creating custom formatters for every operations, which is a *very* expensive thing to do.

To improve the cases where you are frequently re-using a custom set of formatting options, we also have a LRU cache of the most recently used formatting options which we check before creating a new custom formatter.

[CL 2519071 by Jamie Dale in Main branch]
2015-04-21 08:43:22 -04:00
Mieszko Zielinski
158d72e521 Made blackboard key name editable in details tab #UE4
UE-7112

[CL 2515716 by Mieszko Zielinski in Main branch]
2015-04-17 08:29:20 -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
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
Nick Darnell
6818029208 Editor - Giving the DetailsView more capability to allow it to be set to automatically handle the EditDefaultsOnly flag for showing/hiding nodes when selecting a CDO instead of needing to monitor it, and show/hide them manually.
[CL 2505946 by Nick Darnell in Main branch]
2015-04-08 17:27:30 -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
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