diff --git a/Nodes/20 Greyscale/Length.clbnode b/Nodes/20 Greyscale/Length.clbnode index 000ed331..21182216 100644 --- a/Nodes/20 Greyscale/Length.clbnode +++ b/Nodes/20 Greyscale/Length.clbnode @@ -1,8 +1,6 @@ // To learn how to write nodes, see https://coollab-art.com/Tutorials/Writing%20Nodes/Intro -INPUT UV 'UV'; - -float main(UV uv) +float main(vec2 Vec2) { - return length('UV'); + return length(Vec2); } \ No newline at end of file diff --git a/Nodes/50 2D Modifier/Translate.clbnode.presets.json b/Nodes/50 2D Modifier/Translate.clbnode.presets.json index 8d8feee6..f7506430 100644 --- a/Nodes/50 2D Modifier/Translate.clbnode.presets.json +++ b/Nodes/50 2D Modifier/Translate.clbnode.presets.json @@ -7,36 +7,26 @@ "Name": "Default", "Values": [ { - "index": 4, + "index": 3, "data": { "Name": "Translation", "Value": { - "x": 0.0, - "y": 0.0 + "Point2D": { + "x": 0.5, + "y": 0.0 + } }, "Metadata": { - "Bounds": { - "Has min bound": false, - "Min": 0.0, - "Has max bound": false, - "Max": 1.0, - "Drag speed": 0.009999999776482582, - "Use slider": false - } + "Drag speed": 0.00009999999747378752 }, "Default Value": { - "x": 0.5, - "y": 0.0 + "Point2D": { + "x": 0.0, + "y": 0.0 + } }, "Default Metadata": { - "Bounds": { - "Has min bound": false, - "Min": 0.0, - "Has max bound": false, - "Max": 1.0, - "Drag speed": 0.009999999776482582, - "Use slider": false - } + "Drag speed": 0.00009999999747378752 } } }