Commit Graph

22 Commits

Author SHA1 Message Date
Maciej Mroz
94197986df GetBaseStructure was replaced with TBaseStructure<>::Get()
Related to: https://udn.unrealengine.com/questions/244398/blueprint-struct-with-vector-member-crashes-editor.html

#codereview Robert.Manuszewski, Jaroslaw.Palczynski, Nick.Whiting

[CL 2538645 by Maciej Mroz in Main branch]
2015-05-05 23:07:23 -04:00
Michael Noland
bebc65d89f Graph Editor: Split out SGraphPinInteger from SGraphPinNum to push schema checking into the NodeFactory where it belongs
- Fixed SGraphPinNum::Construct skipping its direct parent

[CL 2485418 by Michael Noland in Main branch]
2015-03-19 18:56:54 -04: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
Olaf Piesche
e6d04275b7 Niagara: various changes, fixes, and optimizations; first pass data objects (for buffer access, curves, etc.), to be enabled when niagara is in its own module (Curve data object sample currently always returns (1,0,0,1)).
[CL 2401041 by Olaf Piesche in Main branch]
2015-01-08 11:49:58 -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
Frank Gigliotti
e31e058285 Collision traces by profile
* Added ability to do collision traces using a collision profile instead of a trace channel and response params.  The UWorld trace functions are the same except they end with "ByProfile" (ex. SweepSingleByProfile).

* Added a custom detail widget that allows collision profiles to be set as BP properties.

* Added a custom graph pin widget for setting collision profiles as pins on a node.  It also supports the property being set to expose on spawn.

* Added FCollisionProfileName struct.  This is a BlueprintType used by the custom widgets.

* Made the custom widgets work with profile redirects.  The property will be fixed up next time the BP is compiled.

* Registered a custom setter for FCollisionProfileName pin to work when set to expose on spawn.

#codereview David.Ratti, Lina.Halper

[CL 2365065 by Frank Gigliotti in Main branch]
2014-11-19 11:55:51 -05:00
Simon Tovey
a95ef28928 Improvements to NiagaraCompiler and VM.
- Support for Matrix and scalar ops.
- Constant handling improved to support saclars and matrices. Also reduced constant table to only constants being used. (Matrix and scalar attributes still to do.)
- Refactored compiler to separate the VM from UnrealEd and allow future compilers for compute etc.
- Reduced temp register usage.
- Improved output attriubte writing.
- Improved support for tooltips / descriptions and other UI niceties for Niagara Ops.

- Support for VectorVM ops with 4 operands.
- Refactored VM to be neater and fixed a few bugs that were caused by the mess and code duplication.
- New VM ops for splatting, shuffling and streaming output.

- Fixed a few bugs in the UI Node code.

#reviewedby Olaf.Piesche

[CL 2331268 by Simon Tovey in Main branch]
2014-10-16 03:41:17 -04:00
Martin Wilson
9a04dea5bd Layered blend per bone starts with 2 poses by default and has an add pin button
#TTP 308411 - Animation Blueprint: Layered blend per bone should have 2 blends by default, and should have ADD PIN button like regular blueprints

[CL 2315863 by Martin Wilson in Main branch]
2014-10-01 09:43:43 -04:00
Joe Conley
413f955c2c DataTable/CurveTable Blueprint nodes: Drop down box for selecting row name
Remove requirement for blueprint node name pins to be non-numeric values (this requirement seems to no longer be present in other areas of the engine)

Modified SGraphPinNameList to use new SNameComboBox class

[CL 2266949 by Joe Conley in Main branch]
2014-08-21 23:21:25 -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
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
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
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
David Ratti
d129babe72 DoOnceMultiInput Node: provide's DoOnce behavior but with multiple input/output pairs. Basically, a 'first through' node.
[CL 2094646 by David Ratti in Main branch]
2014-06-04 13:51:09 -04:00
Michael Noland
6046bb9cc9 Blueprints: Add reroute nodes to help organize wires
- Clean up FDragConnection construction and add a factory function in SGraphPin to extend it for some pins
- Clean up arguments to FOnGetContextMenuFor in SGraphPanel
- Various modifications to SGraphPin to permit implementation of wire knots/reroute nodes
#codereview nick.whiting

[CL 2074801 by Michael Noland in Main branch]
2014-05-15 17:34:14 -04:00
Mikolaj Sieluzycki
f25a030f9f Fix for build break caused by CL#2055369.
[CL 2055682 by Mikolaj Sieluzycki in Main branch]
2014-04-24 14:34:01 -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
Robert Manuszewski
86174fbbdf Back out changelist 2054304
[CL 2054447 by Robert Manuszewski in Main branch]
2014-04-23 20:18:11 -04:00
Mikolaj Sieluzycki
e9351fe5de #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 2054304 by Mikolaj Sieluzycki in Main branch]
2014-04-23 20:15:15 -04:00
Mike Beach
ea3d396e18 TTP #331574: Distinguishing interface pins/vars from other objects in blueprints with their own type/color (handling PC_Interface like we handle PC_Object).
#codereview Nick.Whiting

[CL 2041911 by Mike Beach in Main branch]
2014-04-23 17:58:27 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00