|
@@ -27,7 +27,7 @@ public class ModifyImageLeftNode : Node, IPairNode, IPreviewRenderable
|
|
public ModifyImageLeftNode()
|
|
public ModifyImageLeftNode()
|
|
{
|
|
{
|
|
Image = CreateInput<Texture?>("Surface", "IMAGE", null);
|
|
Image = CreateInput<Texture?>("Surface", "IMAGE", null);
|
|
- Coordinate = CreateFuncOutput("Coordinate", "UV", ctx => ctx.OriginalPosition);
|
|
|
|
|
|
+ Coordinate = CreateFuncOutput("Coordinate", "UV", ctx => ctx.OriginalPosition ?? new Float2(""));
|
|
Color = CreateFuncOutput("Color", "COLOR", GetColor);
|
|
Color = CreateFuncOutput("Color", "COLOR", GetColor);
|
|
SampleMode = CreateInput("SampleMode", "COLOR_SAMPLE_MODE", ColorSampleMode.ColorManaged);
|
|
SampleMode = CreateInput("SampleMode", "COLOR_SAMPLE_MODE", ColorSampleMode.ColorManaged);
|
|
}
|
|
}
|