9
9
[ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/SelectionTool.gd" id ="7" ]
10
10
[ext_resource type ="PackedScene" path ="res://InfiniteCanvas/Cursor/SelectionCursor/SelectionCursor.tscn" id ="8" ]
11
11
[ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/SelectionRectangle.gd" id ="9" ]
12
+ [ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/ColorPickerTool.gd" id ="9_xqyd5" ]
12
13
[ext_resource type ="Shader" path ="res://InfiniteCanvas/Tools/selection_rectangle.gdshader" id ="10" ]
13
14
[ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/RectangleTool.gd" id ="11" ]
14
15
[ext_resource type ="Script" path ="res://InfiniteCanvas/InfiniteCanvasGrid.gd" id ="12" ]
15
16
[ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/CircleTool.gd" id ="13" ]
16
17
[ext_resource type ="Script" path ="res://InfiniteCanvas/Tools/EraserTool.gd" id ="14" ]
17
18
[ext_resource type ="Script" path ="res://InfiniteCanvas/DebugDraw.gd" id ="15" ]
19
+ [ext_resource type ="PackedScene" uid ="uid://dmybbclki2clv" path ="res://InfiniteCanvas/Cursor/ColorPickerCursor/ColorPickerCursor.tscn" id ="16_mifpa" ]
18
20
19
21
[sub_resource type ="ShaderMaterial" id ="1" ]
20
22
shader = ExtResource ("10" )
@@ -55,6 +57,10 @@ script = ExtResource("7")
55
57
selection_rectangle_path = NodePath ("../SubViewport/SelectionRectangle" )
56
58
cursor_path = NodePath ("../SubViewport/SelectionCursor" )
57
59
60
+ [node name ="ColorPickerTool" type ="Node" parent ="." ]
61
+ script = ExtResource ("9_xqyd5" )
62
+ cursor_path = NodePath ("../SubViewport/ColorPickerCursor" )
63
+
58
64
[node name ="SubViewport" type ="SubViewport" parent ="." ]
59
65
handle_input_locally = false
60
66
size = Vector2i (1920 , 1080 )
@@ -80,3 +86,5 @@ script = ExtResource("9")
80
86
[node name ="BrushCursor" parent ="SubViewport" instance =ExtResource ("4" )]
81
87
82
88
[node name ="SelectionCursor" parent ="SubViewport" instance =ExtResource ("8" )]
89
+
90
+ [node name ="ColorPickerCursor" parent ="SubViewport" instance =ExtResource ("16_mifpa" )]
0 commit comments