Commit Graph

33 Commits

Author SHA1 Message Date
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
Marc Audy
4562acb429 Fix shadow variables
[CL 2507160 by Marc Audy in Main branch]
2015-04-09 15:23:52 -04:00
Michael Noland
119b4b02b2 Graph Editor: Changed how spline hovering stores data, avoiding direct pin pointers beyond the frame
[UE-13270]

[CL 2501422 by Michael Noland in Main branch]
2015-04-03 14:40:58 -04:00
Michael Noland
1e20822ef3 Graph Editor: Enable direct spline interactions by default
[CL 2490227 by Michael Noland in Main branch]
2015-03-25 00:20:43 -04:00
Michael Noland
e01fb87283 Graph Editor: Added a TODO on some duplicated constants
[CL 2485008 by Michael Noland in Main branch]
2015-03-19 15:28:19 -04:00
Michael Noland
3c77014348 Graph Editor: Add experimental support for hovering and interacting with splines
- Currently gated by a setting in Editor Preferences..Graph Editors
- Alt+LMB Click on the spline to break the connection
- Ctrl+LMB Click on the spline to move the connection to a different pin
- Hover over the spline to highlight it

[CL 2483923 by Michael Noland in Main branch]
2015-03-18 21:37:27 -04:00
Michael Noland
7699105221 GraphEditor: Add support for direction flipping for reroute nodes that travel backwards
- Move PinGeometries to be a member variable of FConnectionDrawingPolicy
- Known issue: The preview wire doesn't flip directions until it is connected to something

[CL 2457370 by Michael Noland in Main branch]
2015-02-23 19:04:42 -05:00
Michael Noland
c97e8231bb GraphEditor: Refactored connection drawing policy API to be more flexible, passing a parameter structure around instead of loose values (FConnectionParams)
Remove duplicated implementations of DrawConnection in subclasses that draw non-curved splines, overriding ComputeSplineTangent instead
Upgrade note: Any editor plugins that contain a FConnectionDrawingPolicy subclass will need to update calls to DrawSplineWithArrow, DrawConnection, and DetermineWiringStyle

[CL 2402661 by Michael Noland in Main branch]
2015-01-10 00:31:36 -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
Michael Noland
5942816000 GraphEditor: Split connection drawing policies out into individual files
[CL 2360933 by Michael Noland in Main branch]
2014-11-14 18:23:41 -05:00
Bob Tellez
534562897b [AUTOMERGE]
#UE4 Less curvy splines in reference viewer

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2353542 by Bob.Tellez on 2014/11/07 16:04:40.

[CL 2353543 by Bob Tellez in Main branch]
2014-11-07 16:06:07 -05:00
Mikolaj Sieluzycki
59df49651b Engine private PCH cleanup.
#codereview Robert.Manuszewski

[CL 2348191 by Mikolaj Sieluzycki in Main branch]
2014-11-04 06:12:25 -05:00
Daniel Wright
ec075f89ef De-emphasized connectors in the material editor are drawn much brighter, increases visibility with comment backgrounds
[CL 2340035 by Daniel Wright in Main branch]
2014-10-24 13:26:17 -04:00
Ben Cosh
01a1fb6115 Build fix, left a dangling reference to removed counter in cl 2321492
[CL 2321534 by Ben Cosh in Main branch]
2014-10-07 13:43:49 -04:00
Ben Cosh
5cff89e809 This adds some simple clip testing for the connection bounds in an effort to increase graph performance on large blueprints
#TTP 347817 - Editing larger Blueprints is super slow.
#Branch UE4
#Proj GraphEditor

#codereview Phillip.Kavan

[CL 2321492 by Ben Cosh in Main branch]
2014-10-07 13:08:42 -04:00
Michael Noland
fa7eb3328f GraphEditor: Make various padding values adjustable to iterate on more compact nodes (WIP / Experimental)
#codereview nick.whiting

[CL 2299009 by Michael Noland in Main branch]
2014-09-15 21:48:46 -04:00
Michael Noland
a74fb28619 GraphEditor: Adjust spline tangent calculations to improve look and feel of wires in all of the graph editors
- Splines now take vertical travel into account in tangent generation, and use a stronger setting when going horziontally backwards (loopbacks)
- Various parameters related to tangent calculations can now be adjusted in the Graph Editor section of Editor Settings
#codereview nick.whiting

[CL 2298813 by Michael Noland in Main branch]
2014-09-15 17:43:07 -04:00
Mike Beach
c198f7016d Moving the option to enable/disable the new menuing system into experimental editor preferences.
[CL 2298767 by Mike Beach in Main branch]
2014-09-15 17:22:50 -04:00
Nick Atamas
057f48f25b Slate: Removed legacy operator() from FArrangedWidgets in favor of operator[]. Fixed uses cases.
[CL 2270701 by Nick Atamas in Main branch]
2014-08-25 12:51:49 -04:00
Mike Beach
65105b2584 Making it so routing exec nodes shows flow of execution when debugging.
(TTP #338146)

[CL 2114076 by Mike Beach in Main branch]
2014-06-23 11:20:54 -04:00
James Golding
4ec7242ccd Remove LatentActionManager.h, Scene.h, NetSerialization.h, Interface_AssetUserData.h and all SoundNode classes from Engine.h
#codereview marc.audy

[CL 2083026 by James Golding in Main branch]
2014-05-29 16:47:05 -04:00
Max Preussner
8fec9bafc3 Settings: moved graph editor settings into GraphEditor module; added 'Graph Editor' settings section to Settings UI
Settings specific to Anim, Blueprint and Material Editor should probably be broken out into their own settings classes in the respective modules at some point. It feels a little strange that the GraphEditor needs to be aware of specific pin and node title types. At this time I did not want to refactor the existing graph editors though, and since many of the properties are currently being shared, pulling these settings out of UEditorUserSettings is at least a good first step. In the future I would like to see settings sections for specific graph based editors instead of having a generic 'Graph Editor' section that is shared by some or all editors.

I exposed various color settings in the UI as many users seem to be quite excited about customizing their Editor. If you think that some settings should be added or removed, please feel free to make any desired changes or let me know. Thanks!

#CodeReview: nick.whiting

[CL 2079703 by Max Preussner in Main branch]
2014-05-20 19:00:53 -04:00
Michael Noland
437060dce3 GraphEditor: Removed the arrow head offset for input-side wires when no arrow head is being rendered
#codereview nick.whiting

[CL 2073257 by Michael Noland in Main branch]
2014-05-14 14:55:31 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Mikolaj Sieluzycki
bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00