Commit Graph

93 Commits

Author SHA1 Message Date
Michael Trepka
3293117f09 More fixes for Clang warnings
[CL 2238624 by Michael Trepka in Main branch]
2014-07-31 15:43:08 -04:00
Matthew Griffin
5a89a2b090 Adding search capability to key selection
Added new SKeySelector widget to take care of selecting keys in various situations
Used new widget for Key detail customization and Blueprint Key Pins

TTP#335356 - EDITOR: Input axis dropdown menu not filterable

[CL 2238263 by Matthew Griffin in Main branch]
2014-07-31 09:33:45 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Michael Trepka
ee353ed1d1 Fixed some issues with Ctrl+{Key} shortcuts on Mac
[CL 2237306 by Michael Trepka in Main branch]
2014-07-30 14:31:25 -04:00
Ben Cosh
1ffd17e1c4 This adds category tracking in the blueprint class to allow sorting of categories in MyBlueprint
#TTP 333452 - BLUEPRINTS: Can't rearrange component categories in the my blueprint tab
#TTP 341990 - LIVE: BLUEPRINTS: Cannot drag and drop into subcategories
#Branch UE4
#Proj Engine, Kismet, UnrealEd, GraphEditor

#Change Added UBlueprint::CategorySorting TArray to store an ordered sort list of categories for variables and components.
#Change Modified dropped on category to update the CategorySorting array in the blueprint
#Change Modified FGraphActionNode to store a categorychain for category nodes only.
#Change Modified FGraphActionNode::AddChild to build and hand off the full category chain to new category nodes.
#Change Modified SMyBlueprint::CollectAllActions to reference the sorting array stored in the blueprint, participating actions are added into a mutimap with the respective sort index and the map is sorted before populating the graph action list.
#Change Added an additional pass when the sorted categories are modified to strip any unused categories out of the blueprint and shrink the array as a lazy maintenance.
#Removed FBlueprintEditorUtils::MoveCategoryBeforeCategory

#info I stopped short of marking the blueprint dirty on category sorting changes after initially having this in. the logic behind this is that marking blueprints dirty for minor changes can be annoying, you can always just manually save your changes and its seems a contrived workflow that you would open a blueprint and change the category sort in my blueprint without making any other changes. Easy to change if there is any real objection to it.

#codereview Mike.Beach

[CL 2237060 by Ben Cosh in Main branch]
2014-07-30 11:06:40 -04:00
Michael Schoell
b0ba598f75 Sub-graphs (such as collapsed graphs or state machines) will display under their parent graph in the My Blueprint's tab rather than a category with the same name.
#ttp 334222 - Regression: BP: In the my blueprints tab, collapsed graphs are incorrectly put into a 'Functions' category when created

[CL 2235799 by Michael Schoell in Main branch]
2014-07-29 10:18:54 -04:00
Michael Schoell
1161bc07d9 Modifying an item selected in My Blueprints using the details panel will no longer deselect the item.
Submitting a category in the BP details panel will no longer mark the Blueprint as structurally modified if nothing has changed.

#ttp 341162 - Regression: BP: After entering a tooltip for a variable, it gets deselected

[CL 2234979 by Michael Schoell in Main branch]
2014-07-28 16:56:10 -04:00
Olaf Piesche
8312a2d140 Niagara rebuild, first iteration; sim framework works, simple actor with a single simuation;
[CL 2234616 by Olaf Piesche in Main branch]
2014-07-28 13:15:12 -04:00
Nick Atamas
badf62c330 Slate slots now use a common base class, which has a private '.Widget' member; use GetWidget() instead.
Slate TPanelChildren, TSlotlessChildren are no longer full-fledged arrays; removed any unused Array API.
Fixed up a lot of improper use cases.

This better encapsulates the action of adding/removing Slate Widgets from the runtime tree as a Slate Core concern.
Alows us to add parent pointers in the future with significantly less effort.

#codereview Wes.Hunt
#codereview Nick.Darnell
#codereview Matt.Kuhlendschmidt
#codereview Justin.Sargent

[CL 2234301 by Nick Atamas in Main branch]
2014-07-28 06:53:40 -04:00
Nick Atamas
978a62ee0f Slate Hittesting 2.0 : Hittesting no longer bound to logical widget hierarchy.
Merged from usr/Nick.Atamas/UE4_SlateDev => /UE4

[CL 2228155 by Nick Atamas in Main branch]
2014-07-23 08:23:21 -04:00
Thomas Sarkanen
ff7d2bdb1b Added Behavior Tree execution order index widgets
Added new widget overlay system for graph panels, designed to allow more flexibilty than the current brush-only implementation. This requred a small refactor to avoid the assumption that all child widgets of an SNodePanel are SNodes (and because there is no usable RTTI present).

Added index widget overlay to BT graph nodes.

Added flag to parent nodes to allow us to change the appearance of child nodes when another child is hovered.

TTP# 339733 - Editor: Behaviour Tree: Add better execution order indicators

reviewed by Lukasz.Furman

[CL 2226658 by Thomas Sarkanen in Main branch]
2014-07-22 04:03:40 -04:00
Michael Schoell
446495b74c Functions and macros now will display with their category in the My Blueprint panel.
Also mass delete and changing categories allowed to functions, macros, and delegates.

#ttp 341290 - BP:  Add support for categories for functions in the My Blueprints tab

[CL 2222608 by Michael Schoell in Main branch]
2014-07-17 16:10:13 -04:00
Michael Trepka
5097b0e10c Improved RMB handling in SNodePanel for Magic Mouse and trackpad
[CL 2222518 by Michael Trepka in Main branch]
2014-07-17 15:10:02 -04:00
Michael Trepka
ed17805fe7 Fixed issues with zooming blueprint and material editor viewports with Magic Mouse
[CL 2219466 by Michael Trepka in Main branch]
2014-07-15 13:26:50 -04:00
Dan Oconnor
daf119cbc7 #ue4 default values read from CDO of spawned class, displayed to user, assignment nodes generated if the pin values differ from the values in the CDO...
[CL 2215022 by Dan Oconnor in Main branch]
2014-07-14 17:15:42 -04:00
Michael Trepka
3318bdb7e6 Improved trackpad magnify gesture responsiveness in SNodePanel
[CL 2176786 by Michael Trepka in Main branch]
2014-07-08 18:23:55 -04:00
Fred Kimberley
63fb8b3e89 GameplayAbility Editor improvements
- properly hook up schema
 - custom nodes for gameplay effects

[CL 2170702 by Fred Kimberley in Main branch]
2014-07-07 15:29:15 -04:00
Marc Audy
c48a46d303 Display labels on split struct array get node
[CL 2170474 by Marc Audy in Main branch]
2014-07-07 13:47:02 -04:00
Richard TalbotWatkin
af3fcd5b99 Removed code to clamp the graph focus position to the bounding box of all graph nodes, as it creates a jarring visual glitch, particularly in an empty graph.
#ttp 332013 - The scroll wheel doesnt work properly in the material editor when a large comment box is created
#ttp 339978 - Graph Editor's Zoom to Cursor is super weird (bad) compared to ortho viewport's (good)
#branch UE4
#proj Editor.GraphEditor
#reviewedby Max.Preussner

[CL 2136463 by Richard TalbotWatkin in Main branch]
2014-07-04 05:07:00 -04:00
Gil Gribb
9ef277bc62 UE4 - more command list work, remove "either render thread or game thread" routines from canvas
[CL 2125102 by Gil Gribb in Main branch]
2014-07-02 14:13:59 -04:00
Marc Audy
129dc32d1e Differentiate between rotator and vector in labelling on "vector" graph pins
[CL 2124856 by Marc Audy in Main branch]
2014-07-02 13:23:46 -04:00
Marc Audy
e899224ed4 Don't show an edit box for pin types that don't need it
[CL 2124811 by Marc Audy in Main branch]
2014-07-02 13:08:42 -04:00
Maciej Mroz
aa7899894b BP: Node enabled, one can set a single variable in a structure instance.
"HasNativeMake" and "HasNativeBreak" are no longer boolean - fix.

#codereview Nick.Whiting, Marc.Audy

[CL 2122060 by Maciej Mroz in Main branch]
2014-06-30 16:03:48 -04:00
Gil Gribb
1d50eae0de UE4 - rework RHI user-facing APIs to be safer and incorporate the desired sematics
[CL 2119499 by Gil Gribb in Main branch]
2014-06-27 11:07:13 -04:00
Thomas Sarkanen
a279557d28 Dont block graph connections in behavior trees, replace existing instead
Reworked connection logic in the behavior tree graph schema.
Found that while the code to check while dragging/hovering was switched when dropping interms of pin direction. This made denying connections in directed graphs (like BTs) problematic. Fixed this by just reversing the pin order on drop, tested in Blueprint & it seems to be working fine.
Also fixed creating graph cycles, which caused a crash.

TTP# 339732 - Editor: Behaviour Tree: Dragging link should replace existing, not be blocked

reviewed by Lukasz.Furman

[CL 2119237 by Thomas Sarkanen in Main branch]
2014-06-27 05:35:20 -04:00