mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Large refactoring and new nodes
* Fix node reference when changing elements * Fix ScriptVariables parsing * Fix invariant text and niagara types * Niagara convert nodes * Move node tests to own files * More Niagara tests * Niagara float and smaller fixes * More Decoding * More decoding * WIP * Float is real * WIP * More types and colors * Test case and small polish * WIP * WIP * Fix niagara script variables merging * Fix Niagara variables * Fixing mirrored ExportPath * Fix Export paths name adjustments * Simplify arc calculation * Simplify a bit arc calculation * source / destionation => origin / target * Minor refactoring * Fix switched link position * Rename some properties for uniformity * Fix input escape * Simplify test * About window * Dialog backdrop style * About dialog touches * Remove dependency and minot improvement * Light mode * Fix link location and css small improvement * Link direction and minor fixes * Some minor fixes and refactoring * Refactoring WIP * Shorting repetitive bits * More tests * Simplify linking tests
This commit is contained in:
31
tests/nodeComment.spec.js
Executable file
31
tests/nodeComment.spec.js
Executable file
@@ -0,0 +1,31 @@
|
||||
import { testNode } from "./fixtures/test.js"
|
||||
|
||||
testNode({
|
||||
name: "Comment",
|
||||
value: String.raw`
|
||||
Begin Object Class=/Script/UnrealEd.MaterialGraphNode_Comment Name="MaterialGraphNode_Comment_0" ExportPath=/Script/UnrealEd.MaterialGraphNode_Comment'"/Engine/Transient.M_CobbleStone_Smooth:MaterialGraph_0.MaterialGraphNode_Comment_0"'
|
||||
Begin Object Class=/Script/Engine.MaterialExpressionComment Name="MaterialExpressionComment_0" ExportPath=/Script/Engine.MaterialExpressionComment'"/Engine/Transient.M_CobbleStone_Smooth:MaterialGraph_0.MaterialGraphNode_Comment_0.MaterialExpressionComment_0"'
|
||||
End Object
|
||||
Begin Object Name="MaterialExpressionComment_0" ExportPath=/Script/Engine.MaterialExpressionComment'"/Engine/Transient.M_CobbleStone_Smooth:MaterialGraph_0.MaterialGraphNode_Comment_0.MaterialExpressionComment_0"'
|
||||
SizeX=249
|
||||
SizeY=165
|
||||
Text="Comment"
|
||||
MaterialExpressionEditorX=-5920
|
||||
MaterialExpressionEditorY=-704
|
||||
MaterialExpressionGuid=E21961B2B09144CF8607171C9D1E3489
|
||||
End Object
|
||||
MaterialExpressionComment=/Script/Engine.MaterialExpressionComment'"MaterialExpressionComment_0"'
|
||||
bCommentBubbleVisible_InDetailsPanel=False
|
||||
NodePosX=-5920
|
||||
NodePosY=-704
|
||||
NodeWidth=249
|
||||
NodeHeight=165
|
||||
bCommentBubblePinned=False
|
||||
bCommentBubbleVisible=False
|
||||
NodeComment="Comment"
|
||||
NodeGuid=A04CE0EEECF047A4918AC9B13818854E
|
||||
End Object
|
||||
`,
|
||||
delegate: false,
|
||||
development: false,
|
||||
})
|
||||
Reference in New Issue
Block a user