Commit Graph

241 Commits

Author SHA1 Message Date
Mike Beach
1f5c21b34f Property pin checking was backwards for the new BP menu system (also preventing array pins from being marked as compatible with "Target" self pins).
[CL 2251586 by Mike Beach in Main branch]
2014-08-11 14:56:47 -04:00
Mike Beach
f27d0715c8 Making it so functions/variables from commandlet Blueprints (those in the transient package) get added to the BP action database.
[CL 2251501 by Mike Beach in Main branch]
2014-08-11 12:21:42 -04:00
Mikolaj Sieluzycki
4f40175cb6 Engine.h/EnginePrivate.h cleanup - delegate bindings.
[CL 2251079 by Mikolaj Sieluzycki in Main branch]
2014-08-11 03:23:38 -04:00
Marc Audy
552d40f27c Change RTTI system in FEdGraphSchemaAction to use FNames instead of FString
[CL 2249657 by Marc Audy in Main branch]
2014-08-09 13:30:30 -04:00
Nick Whiting
e21af758c0 #ue4 Made RotationFromXVector and GetRotationXVector default conversions for vector / rotator, by popular request
#github Adapted from GHPR 257 (Rama)

[CL 2249169 by Nick Whiting in Main branch]
2014-08-08 20:52:04 -04:00
Mike Beach
1dddac5edb Adding in missing menu icons for the new blueprint action menu systems.
[CL 2249059 by Mike Beach in Main branch]
2014-08-08 18:16:41 -04:00
Mike Beach
d7066b1e52 Some missed includes for non-unity builds.
[CL 2249053 by Mike Beach in Main branch]
2014-08-08 18:11:40 -04:00
Mike Beach
854126d6ed Ensuring that we generate a node-guid for the template-nodes (since custom-event nodes assert on this).
[CL 2249044 by Mike Beach in Main branch]
2014-08-08 18:06:40 -04:00
Mike Beach
c3e66859e4 Fixing issue with new blueprint menu system, where custom events couldn't be spawned (instead, it was focusing on any existing event).
[CL 2249038 by Mike Beach in Main branch]
2014-08-08 18:01:49 -04:00
Mike Beach
2757f85a3b Fixing issue where stale blueprint menu actions were being primed (after their corresponding had been trashed).
[CL 2249035 by Mike Beach in Main branch]
2014-08-08 18:01:38 -04:00
Mike Beach
cabc4b1f02 (WIP) Now taking pin-context into consideration when filtering the new blueprint menu system.
[CL 2248808 by Mike Beach in Main branch]
2014-08-08 15:35:56 -04:00
Maciej Mroz
4e272a43ac UDS can be based on TableRowBase - first version.
Better handling CPF_BlueprintVisible.
DataTable uses DisplayName.

[CL 2248538 by Maciej Mroz in Main branch]
2014-08-08 11:13:17 -04:00
Ben Cosh
196cf342b5 Added a new documentation node to the blueprints to display udn documentation excerpts in the grapheditor.
#TTP 312311 - ROCKET: TASK: Add a "Documentation Node"
#Branch UE4
#Proj  BlueprintGraph, EdGraph, Kismet, KismetCompiler, GraphEditor, Documentation, EditorStyle

#Change Updated UEdGraphSchema to include an interface call to retrieve an FEdGraphSchemaAction to create documentation nodes. At this point only the K2 interfaces implement this.
#Change Updated UEdGraphSchema_K2 to include a call to retrieve an FEdGraphSchemaAction to create documentation nodes. This is used to add the actions to the blueprint palette and context menus.
#Add Added FEdGraphSchemaAction_K2AddDocumentation in EdGraphSchema_K2_Actions.h/cpp to implement the calls in UEdGraphSchema to create documenation nodes from palette and context menus.
#Change Modified FK2ActionMenuBuilder to provide a static call to create a documentation action in the same style as the comment. Additionally added calls to FK2ActionMenuBuilder::GetPaletteActions and FK2ActionMenuBuilder::GetContextAllowedNodeTypes to call this to add entries in the palette and context menus.
#Add Added a new Brush GraphEditor.Documentation_16x, for the context menu icon in SlateEditorStyle.cpp.
#Change Modified GetPaletteItemIcon in SBlueprintPalette.cpp to return the new icon for the DocumentationNode

#Change Modified FKismetCompilerContext::IsNodePure to include the Documentaton node in the drop through ensure test to prevent asserts on compling if a documentation node is present.

#Change Added an entry for Documentation node in FNodeFactory::CreateNodeWidget.

#Change Modified IDocumentationPage interface to provide the ability to provide a TextWrapAt Attribute so this can be set before creating excerpt content if desired.
#Change Modified the UDNParser to control text wrap at values in the created widgets using a float Attribute WrapAt, Added a set call in the DocumentationPage and made the default behaviour mimic the code it replaced.

#Add Added the class UEdGraphNode_Documentation implemented in EdGraphNode_Documentation.h and UEdGraph.cpp, this is the UObject implementation for the documentation nodes.
#Add Added the class SGraphNodeDocumentation as the GraphPanel implementation of the EdGraphNode_Documentation.
#Change Moved the resizable code from SGraphNodeComment into a SGraphNodeResizable and changed SGraphNodeComment and SGraphNodeDocumentation inherit from it to avoid duplicating code.

#Change Added a documentation specific details customisation so the excerpts can be displayed as combo button.
#Change Added FBlueprintDocumentationDetails into BlueprintDetailsCustomization.h/cpp to handle the user interaction with the documentation node in the BP Editor.

ReviewedBy Chris.Wood, Mike.Beach

[CL 2247425 by Ben Cosh in Main branch]
2014-08-07 15:33:55 -04:00
Marc Audy
1d8b278028 Fix numerous places using PinName instead of PinFriendlyName for UI purposes
[CL 2247233 by Marc Audy in Main branch]
2014-08-07 13:23:24 -04:00
Maciej Mroz
e39b3831f1 Warnings and erros about using static arrays with blueprints.
Warnings about using properties without BlueprintReatWrite or BlueprintReadOnly tags.

ttp343139 BP:  PUBLIC CRASH:  ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr
ttp343016 ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr

#codereview Nick.Whiting, Michael.Noland, Robert.Manuszewski

[CL 2244501 by Maciej Mroz in Main branch]
2014-08-05 14:16:02 -04:00
Mike Beach
d4f141f0e7 Fixing non-unity build error (was missing an include).
[CL 2243539 by Mike Beach in Main branch]
2014-08-04 18:51:11 -04:00
Mike Beach
e157b4353a (WIP) Fixing up bound event spawners so that they're updated when a blueprint is recompiled/altered (so that they catch new properties, etc.).
[CL 2243365 by Mike Beach in Main branch]
2014-08-04 18:28:34 -04:00
Mike Beach
ece0b5b4f9 (WIP) Adding new bound blueprint node spawners for the new context menu system.
[CL 2242751 by Mike Beach in Main branch]
2014-08-04 18:20:40 -04:00
Mike Beach
768b7801d9 Adding a new method to graph nodes that determines if that node is compatible with certain graphs (split out functionality from CanPasteHere() so we can leverage it in the new blueprint menu system).
[CL 2242673 by Mike Beach in Main branch]
2014-08-04 12:39:34 -04:00
Mike Beach
4f9977f486 (WIP) Making NodeSpawners responsible for the placement of new nodes (passing the desired location along to them, to do with as they please). This fixes comment nodes so they properly position themselves in the new system.
[CL 2242646 by Mike Beach in Main branch]
2014-08-04 12:19:42 -04:00
Mike Beach
d126d670c6 Catching the case where struct ref pins on the new set-struct-members nodes are left empty (now presenting the user a compiler error rather than a crash)
(TTP #342994)

#codereview Maciej.Mroz

[CL 2240368 by Mike Beach in Main branch]
2014-08-01 18:04:33 -04:00
Maciej Mroz
6f5cb58cf6 The "_C" postif should not be visible in editor UI.
[CL 2240081 by Maciej Mroz in Main branch]
2014-08-01 14:08:30 -04:00
Maciej Mroz
c1febea176 Removed code related to ttp237118 "ROCKET: HUGE: K2: Change 'Class' to be primary asset (seen in content browser etc) instead of Blueprint"
The "_C" postif should not be visible in UI and (and gameplay code).

#codereview Nick.Whiting

[CL 2239913 by Maciej Mroz in Main branch]
2014-08-01 11:07:59 -04:00
Mike Beach
60d5930c3f No longer preventing child-actors from being added if they don't have a root component.
(TTP #342536)

[CL 2238543 by Mike Beach in Main branch]
2014-07-31 13:31:45 -04:00
Maciej Mroz
e078fc3b02 BP: validation and optimization related to RefreshAllNodes
#codereview Mike.Beach

[CL 2238282 by Maciej Mroz in Main branch]
2014-07-31 09:53:50 -04:00