Commit Graph

248 Commits

Author SHA1 Message Date
Dan Oconnor
1525756ac9 Fix for UE-8789, we had two SGraphNodes for a single UEdGraphNode (refresh and add node called on the same frame)
[CL 2428978 by Dan Oconnor in Main branch]
2015-02-02 18:26:26 -05:00
Ben Marsh
ea3b047585 [INTEGRATE] Change 2422805 by Michael.Noland@mnoland-T2784-Reference on 2015/01/28 16:18:44
Graph editor: Allow long graph drag-drop feedback tooltips to wrap instead of being clipped

[CL 2425903 by Ben Marsh in Main branch]
2015-01-30 11:24:47 -05:00
Ben Cosh
577274af7a This changes the behaviour of context menu comment editing in the graphs so that they automatically display comment bubbles when text is entered and hide when text is completely removed ( empty comment )
#UE-8480 - Unable to create comments on nodes
#Branch UE4
#Proj GraphEditor

[CL 2425487 by Ben Cosh in Main branch]
2015-01-30 06:11:03 -05:00
Mieszko Zielinski
538ca45081 Fixed a (presumably) copy-paste derived bug in SGraphActionMenu::SelectItemByName resulting in crashes on adding keys to Blackboard assets #UE4
- addresses UE-8529
- not a broken-build fix, but a critical 4.7 fix (and super safe!)

#codereview Michael.Schoell
#lockdown Zachary.EdgertonJones

[CL 2423536 by Mieszko Zielinski in Main branch]
2015-01-29 04:21:37 -05:00
Ben Marsh
53eb9ed042 [INTEGRATE] Change 2419179 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/26 16:37:54
Fixed Compile errors from rename.
	Updated tooltips for SCSEditor.
	#codereview philip.Kavan

[CL 2419758 by Ben Marsh in Main branch]
2015-01-26 20:25:05 -05:00
Ben Marsh
f22e4eb376 [INTEGRATE] Change 2418803 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/26 12:50:53
BP - Fixing the sizing on the section widget so that it is auto instead of fill sized.

[CL 2419746 by Ben Marsh in Main branch]
2015-01-26 20:23:26 -05:00
Ben Marsh
67dd3b31d0 [INTEGRATE] Change 2417546 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/23 19:26:20
Move the SCS Root Actor into the treeview.

[CL 2419680 by Ben Marsh in Main branch]
2015-01-26 20:10:05 -05:00
Ben Marsh
61bad48ff8 [INTEGRATE] Change 2415251 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/22 08:59:29
Fixed a few styling regressions with Blueprint tool-tips

[CL 2419531 by Ben Marsh in Main branch]
2015-01-26 19:03:04 -05:00
Ben Marsh
60952a2dd6 [INTEGRATE] Change 2412828 by Ben.Marsh@ben.marsh_a3072_3647 on 2015/01/20 16:32:19
Another fix for Mac build failures.

	#codereview Nick.Darnell

[CL 2419471 by Ben Marsh in Main branch]
2015-01-26 18:51:30 -05:00
Ben Marsh
eff15a2bda [INTEGRATE] Change 2412492 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/20 13:24:30
Missing qualifiers for IsHovered and IsItemExpanded

	#codereview Nick.Darnell

[CL 2419446 by Ben Marsh in Main branch]
2015-01-26 18:38:35 -05:00
Ben Marsh
619b2dacdf [INTEGRATE] Change 2412451 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/20 13:06:34
Build - Possible build fix for clang on mac.

[CL 2419444 by Ben Marsh in Main branch]
2015-01-26 18:38:07 -05:00
Ben Marsh
a32f9a8dff [INTEGRATE] Change 2412449 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/20 13:05:29
Build - Adding a header fix the mac build.

[CL 2419439 by Ben Marsh in Main branch]
2015-01-26 18:37:15 -05:00
Ben Marsh
f3c6346646 [INTEGRATE] Change 2412123 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/20 09:13:57
Fix Mac build errors.

	#codereview Nick.Darnell

[CL 2419401 by Ben Marsh in Main branch]
2015-01-26 18:21:12 -05:00
Ben Marsh
4d5c52456e [INTEGRATE] Change 2411381 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/19 16:39:31
Editor - Adding the unified blueprint editor view.  Combines all the modes into a single blueprint editor.  Still requires being enabled through the experimental option in the editor.

[CL 2419336 by Ben Marsh in Main branch]
2015-01-26 17:51:00 -05:00
Dan Oconnor
c1e8a85ad8 Fix for UE-8199, UE-8202 - intermittent crash when deleting nodes.. copy paste error, could have been prevented by using EraseIf. To reproduce the bug delete a node when there are VisibleChildren
[CL 2419239 by Dan Oconnor in Main branch]
2015-01-26 17:11:14 -05:00
Wes Hunt
5e497c92d4 Added custom slate stats, removed all but top level UE4 slate stats. #BUN
* See SlateStats.h for details on the new system, which allows for full hierarchical profiling with limited overhead.
* Moved SWidget::GetVisibility() out of line so we can instrument it without a full recompile.
* Widget debug info now uses FName to store the line number of the file. Keeps it in one place and the new stats system can utilize it as an FName.
* Exposed SWidget CreatedInFile debug info as an FName so new stats system can use it.
* FSlateVertex no longer uses FVector4, which is an aligned struct. Switched to float[4] instead. Goes from 48 to 36 bytes.
#codereview:nick.atamas,matt.kuhlenschmidt

[CL 2417281 by Wes Hunt in Main branch]
2015-01-23 16:49:16 -05:00
Dan Oconnor
635c401f58 No longer purging the visual representation when nodes are added to the vanilla blueprint editor (should not affect anim blueprint, material editor, etc)
[CL 2415500 by Dan Oconnor in Main branch]
2015-01-22 13:35:22 -05:00
Dan Oconnor
6ae9c6cac0 Blueprint editor no longer purges SGraphNodes when a node is removed, disabled for all schemas except 'clean' k2 schema because of risk
[CL 2414958 by Dan Oconnor in Main branch]
2015-01-21 23:54:10 -05:00
Dan Oconnor
2efabfa541 Back out changelist 2411626
I fixed the crash found in the material editor, but discovered some rendering issues. Backing this out for now.

[CL 2412583 by Dan Oconnor in Main branch]
2015-01-20 14:04:44 -05:00
Jaroslaw Palczynski
adecd4aaad UHT: Allows defining multiple UCLASSes in one header file.
[CL 2412156 by Jaroslaw Palczynski in Main branch]
2015-01-20 09:33:54 -05:00
Dan Oconnor
b0c9f152da We no longer refresh the graph panel when a user deletes or adds a graph node. This is a substantial improvement in responsiveness, especially when the user is editing large graphs.
[CL 2411626 by Dan Oconnor in Main branch]
2015-01-19 18:54:38 -05: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
Dan Oconnor
700b762cc9 FBlurpint::OnChanged split into OnCompiled and OnChanged. Only difference is that we don't call RefreshEditors in the case of OnCompiled (we manually update displayed error information on the graph nodes)
Added Stats
Fixed bad delegate logic in BlueprintActionDatabase

[CL 2407793 by Dan Oconnor in Main branch]
2015-01-15 15:57:51 -05:00
Nick Atamas
f5e19bef14 Slate : RelativeLayoutScale is now computed in the SlatePrepass(). ComputeDesiredSize() now takes a float parameter. API-breaking change!
[CL 2406629 by Nick Atamas in Main branch]
2015-01-14 19:04:45 -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