diff --git a/assets/graphics/tools/cursors/bucket.png b/assets/graphics/tools/cursors/bucket.png new file mode 100644 index 000000000..522a0559a Binary files /dev/null and b/assets/graphics/tools/cursors/bucket.png differ diff --git a/assets/graphics/tools/cursors/bucket.png.import b/assets/graphics/tools/cursors/bucket.png.import new file mode 100644 index 000000000..9d4e9fbcf --- /dev/null +++ b/assets/graphics/tools/cursors/bucket.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/bucket.png-c4bf805415b00425c55b8adac894ad7c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/bucket.png" +dest_files=[ "res://.import/bucket.png-c4bf805415b00425c55b8adac894ad7c.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/colorpicker.png b/assets/graphics/tools/cursors/colorpicker.png new file mode 100644 index 000000000..11ff87b39 Binary files /dev/null and b/assets/graphics/tools/cursors/colorpicker.png differ diff --git a/assets/graphics/tools/cursors/colorpicker.png.import b/assets/graphics/tools/cursors/colorpicker.png.import new file mode 100644 index 000000000..182614183 --- /dev/null +++ b/assets/graphics/tools/cursors/colorpicker.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/colorpicker.png-c6a61314982ffe89f5d4075de144fe78.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/colorpicker.png" +dest_files=[ "res://.import/colorpicker.png-c6a61314982ffe89f5d4075de144fe78.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/colorselect.png b/assets/graphics/tools/cursors/colorselect.png new file mode 100644 index 000000000..944764e89 Binary files /dev/null and b/assets/graphics/tools/cursors/colorselect.png differ diff --git a/assets/graphics/tools/cursors/colorselect.png.import b/assets/graphics/tools/cursors/colorselect.png.import new file mode 100644 index 000000000..c58a43ad2 --- /dev/null +++ b/assets/graphics/tools/cursors/colorselect.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/colorselect.png-855fe4674fbd105e7500362dbda30f8a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/colorselect.png" +dest_files=[ "res://.import/colorselect.png-855fe4674fbd105e7500362dbda30f8a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/ellipseselect.png b/assets/graphics/tools/cursors/ellipseselect.png new file mode 100644 index 000000000..4ad0f56f5 Binary files /dev/null and b/assets/graphics/tools/cursors/ellipseselect.png differ diff --git a/assets/graphics/tools/cursors/ellipseselect.png.import b/assets/graphics/tools/cursors/ellipseselect.png.import new file mode 100644 index 000000000..08e7d5bd7 --- /dev/null +++ b/assets/graphics/tools/cursors/ellipseselect.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ellipseselect.png-8527cb3b0a9808cb60359a76f56bc85d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/ellipseselect.png" +dest_files=[ "res://.import/ellipseselect.png-8527cb3b0a9808cb60359a76f56bc85d.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/ellipsetool.png b/assets/graphics/tools/cursors/ellipsetool.png new file mode 100644 index 000000000..67be28b42 Binary files /dev/null and b/assets/graphics/tools/cursors/ellipsetool.png differ diff --git a/assets/graphics/tools/cursors/ellipsetool.png.import b/assets/graphics/tools/cursors/ellipsetool.png.import new file mode 100644 index 000000000..98f2889ca --- /dev/null +++ b/assets/graphics/tools/cursors/ellipsetool.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ellipsetool.png-20648f66274b5b7765f16a599dc4d5ff.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/ellipsetool.png" +dest_files=[ "res://.import/ellipsetool.png-20648f66274b5b7765f16a599dc4d5ff.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/eraser.png b/assets/graphics/tools/cursors/eraser.png new file mode 100644 index 000000000..529ac86c8 Binary files /dev/null and b/assets/graphics/tools/cursors/eraser.png differ diff --git a/assets/graphics/tools/cursors/eraser.png.import b/assets/graphics/tools/cursors/eraser.png.import new file mode 100644 index 000000000..6411db51f --- /dev/null +++ b/assets/graphics/tools/cursors/eraser.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/eraser.png-a00636af98c0fcf6bd6bf35640b83459.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/eraser.png" +dest_files=[ "res://.import/eraser.png-a00636af98c0fcf6bd6bf35640b83459.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/lasso.png b/assets/graphics/tools/cursors/lasso.png new file mode 100644 index 000000000..18f1e2477 Binary files /dev/null and b/assets/graphics/tools/cursors/lasso.png differ diff --git a/assets/graphics/tools/cursors/lasso.png.import b/assets/graphics/tools/cursors/lasso.png.import new file mode 100644 index 000000000..a03e61a0e --- /dev/null +++ b/assets/graphics/tools/cursors/lasso.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/lasso.png-b57369a1f33ebad796567cc7f2255d6c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/lasso.png" +dest_files=[ "res://.import/lasso.png-b57369a1f33ebad796567cc7f2255d6c.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/linetool.png b/assets/graphics/tools/cursors/linetool.png new file mode 100644 index 000000000..c9bdf53ec Binary files /dev/null and b/assets/graphics/tools/cursors/linetool.png differ diff --git a/assets/graphics/tools/cursors/linetool.png.import b/assets/graphics/tools/cursors/linetool.png.import new file mode 100644 index 000000000..4d95b3cdf --- /dev/null +++ b/assets/graphics/tools/cursors/linetool.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/linetool.png-f88b6978c31a033619980bf335cfaa21.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/linetool.png" +dest_files=[ "res://.import/linetool.png-f88b6978c31a033619980bf335cfaa21.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/magicwand.png b/assets/graphics/tools/cursors/magicwand.png new file mode 100644 index 000000000..fb4030202 Binary files /dev/null and b/assets/graphics/tools/cursors/magicwand.png differ diff --git a/assets/graphics/tools/cursors/magicwand.png.import b/assets/graphics/tools/cursors/magicwand.png.import new file mode 100644 index 000000000..abec05c9d --- /dev/null +++ b/assets/graphics/tools/cursors/magicwand.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/magicwand.png-a88950f47e167183b2e78f8980f580f0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/magicwand.png" +dest_files=[ "res://.import/magicwand.png-a88950f47e167183b2e78f8980f580f0.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/move.png b/assets/graphics/tools/cursors/move.png new file mode 100644 index 000000000..69c98a9ce Binary files /dev/null and b/assets/graphics/tools/cursors/move.png differ diff --git a/assets/graphics/tools/cursors/move.png.import b/assets/graphics/tools/cursors/move.png.import new file mode 100644 index 000000000..f356c6e66 --- /dev/null +++ b/assets/graphics/tools/cursors/move.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/move.png-3d9f5f2d803b18a63b76370eb4228771.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/move.png" +dest_files=[ "res://.import/move.png-3d9f5f2d803b18a63b76370eb4228771.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/pan.png b/assets/graphics/tools/cursors/pan.png new file mode 100644 index 000000000..f02ac619d Binary files /dev/null and b/assets/graphics/tools/cursors/pan.png differ diff --git a/assets/graphics/tools/cursors/pan.png.import b/assets/graphics/tools/cursors/pan.png.import new file mode 100644 index 000000000..28f2ce473 --- /dev/null +++ b/assets/graphics/tools/cursors/pan.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pan.png-c49ef20d232155a864f417b751f95229.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/pan.png" +dest_files=[ "res://.import/pan.png-c49ef20d232155a864f417b751f95229.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/pencil.png b/assets/graphics/tools/cursors/pencil.png new file mode 100644 index 000000000..ceacf6f2c Binary files /dev/null and b/assets/graphics/tools/cursors/pencil.png differ diff --git a/assets/graphics/tools/cursors/pencil.png.import b/assets/graphics/tools/cursors/pencil.png.import new file mode 100644 index 000000000..f2b5f3e3c --- /dev/null +++ b/assets/graphics/tools/cursors/pencil.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/pencil.png-ad4aa17c50d39e687be59518f7ec26db.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/pencil.png" +dest_files=[ "res://.import/pencil.png-ad4aa17c50d39e687be59518f7ec26db.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/polygonselect.png b/assets/graphics/tools/cursors/polygonselect.png new file mode 100644 index 000000000..33a4fa2eb Binary files /dev/null and b/assets/graphics/tools/cursors/polygonselect.png differ diff --git a/assets/graphics/tools/cursors/polygonselect.png.import b/assets/graphics/tools/cursors/polygonselect.png.import new file mode 100644 index 000000000..8ead8f236 --- /dev/null +++ b/assets/graphics/tools/cursors/polygonselect.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/polygonselect.png-f7d96d53f34c3c81d653feb6c115ef81.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/polygonselect.png" +dest_files=[ "res://.import/polygonselect.png-f7d96d53f34c3c81d653feb6c115ef81.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/rectangletool.png b/assets/graphics/tools/cursors/rectangletool.png new file mode 100644 index 000000000..e6955ade8 Binary files /dev/null and b/assets/graphics/tools/cursors/rectangletool.png differ diff --git a/assets/graphics/tools/cursors/rectangletool.png.import b/assets/graphics/tools/cursors/rectangletool.png.import new file mode 100644 index 000000000..ceed837b8 --- /dev/null +++ b/assets/graphics/tools/cursors/rectangletool.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/rectangletool.png-09c04120a942fab47b3339db72969340.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/rectangletool.png" +dest_files=[ "res://.import/rectangletool.png-09c04120a942fab47b3339db72969340.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/rectselect.png b/assets/graphics/tools/cursors/rectselect.png new file mode 100644 index 000000000..de4d6a708 Binary files /dev/null and b/assets/graphics/tools/cursors/rectselect.png differ diff --git a/assets/graphics/tools/cursors/rectselect.png.import b/assets/graphics/tools/cursors/rectselect.png.import new file mode 100644 index 000000000..250769cc1 --- /dev/null +++ b/assets/graphics/tools/cursors/rectselect.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/rectselect.png-6c6ec53df2045632b26bffa7c0399df4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/rectselect.png" +dest_files=[ "res://.import/rectselect.png-6c6ec53df2045632b26bffa7c0399df4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/shading.png b/assets/graphics/tools/cursors/shading.png new file mode 100644 index 000000000..8e2712cd6 Binary files /dev/null and b/assets/graphics/tools/cursors/shading.png differ diff --git a/assets/graphics/tools/cursors/shading.png.import b/assets/graphics/tools/cursors/shading.png.import new file mode 100644 index 000000000..f935c94d7 --- /dev/null +++ b/assets/graphics/tools/cursors/shading.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/shading.png-984f5bf0d673a3c8f88917a16ae424be.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/shading.png" +dest_files=[ "res://.import/shading.png-984f5bf0d673a3c8f88917a16ae424be.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/assets/graphics/tools/cursors/zoom.png b/assets/graphics/tools/cursors/zoom.png new file mode 100644 index 000000000..1d7e33b0c Binary files /dev/null and b/assets/graphics/tools/cursors/zoom.png differ diff --git a/assets/graphics/tools/cursors/zoom.png.import b/assets/graphics/tools/cursors/zoom.png.import new file mode 100644 index 000000000..57fddb502 --- /dev/null +++ b/assets/graphics/tools/cursors/zoom.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/zoom.png-f285932698b88413c8bee72a7eaeb729.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/tools/cursors/zoom.png" +dest_files=[ "res://.import/zoom.png-f285932698b88413c8bee72a7eaeb729.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/src/Autoload/Tools.gd b/src/Autoload/Tools.gd index e4f553476..156b2ab32 100644 --- a/src/Autoload/Tools.gd +++ b/src/Autoload/Tools.gd @@ -181,9 +181,9 @@ func update_tool_buttons() -> void: func update_tool_cursors() -> void: - var left_image = load("res://assets/graphics/tools/%s.png" % _slots[BUTTON_LEFT].tool_node.name.to_lower()) + var left_image = load("res://assets/graphics/tools/cursors/%s.png" % _slots[BUTTON_LEFT].tool_node.name.to_lower()) Global.left_cursor_tool_texture = left_image - var right_image = load("res://assets/graphics/tools/%s.png" % _slots[BUTTON_RIGHT].tool_node.name.to_lower()) + var right_image = load("res://assets/graphics/tools/cursors/%s.png" % _slots[BUTTON_RIGHT].tool_node.name.to_lower()) Global.right_cursor_tool_texture = right_image diff --git a/src/Main.tscn b/src/Main.tscn index b1bc05a8b..67df2a3ea 100644 --- a/src/Main.tscn +++ b/src/Main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=20 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://assets/themes/dark/theme.tres" type="Theme" id=1] [ext_resource path="res://src/Main.gd" type="Script" id=2] @@ -9,7 +9,6 @@ [ext_resource path="res://src/UI/Dialogs/ImageEffects/ImageEffects.tscn" type="PackedScene" id=7] [ext_resource path="res://src/UI/Dialogs/SaveSpriteHTML5.tscn" type="PackedScene" id=8] [ext_resource path="res://src/UI/Timeline/FrameProperties.tscn" type="PackedScene" id=9] -[ext_resource path="res://src/Shaders/AutoInvertColors.shader" type="Shader" id=10] [ext_resource path="res://src/UI/Dialogs/SaveSprite.tscn" type="PackedScene" id=11] [ext_resource path="res://src/UI/Dialogs/OpenSprite.tscn" type="PackedScene" id=12] [ext_resource path="res://src/UI/Dialogs/SplashDialog.tscn" type="PackedScene" id=27] @@ -18,12 +17,6 @@ [ext_resource path="res://src/UI/Dialogs/AboutDialog.tscn" type="PackedScene" id=34] [ext_resource path="res://src/UI/Dialogs/ExportDialog.tscn" type="PackedScene" id=39] -[sub_resource type="ShaderMaterial" id=1] -shader = ExtResource( 10 ) - -[sub_resource type="ShaderMaterial" id=2] -shader = ExtResource( 10 ) - [node name="Control" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 @@ -120,11 +113,9 @@ Do you want to reload it?" [node name="LeftCursor" type="Sprite" parent="."] visible = false -material = SubResource( 1 ) [node name="RightCursor" type="Sprite" parent="."] visible = false -material = SubResource( 2 ) [node name="ModulateTween" type="Tween" parent="."]