mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Make selection tool scenes inherit from SelectionTool.tscn
Useful for them to be able to share common tool options
This commit is contained in:
parent
708a1ddc20
commit
0b3424be80
|
@ -1,20 +1,7 @@
|
||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://src/Tools/SelectionTools/SelectionTool.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://src/Tools/SelectionTools/ColorSelect.gd" type="Script" id=2]
|
[ext_resource path="res://src/Tools/SelectionTools/ColorSelect.gd" type="Script" id=2]
|
||||||
|
|
||||||
[node name="ToolOptions" instance=ExtResource( 1 )]
|
[node name="ToolOptions" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="PixelPerfect" parent="." index="1"]
|
|
||||||
visible = false
|
|
||||||
|
|
||||||
[node name="EmptySpacer" parent="." index="2"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 30.0
|
|
||||||
|
|
||||||
[node name="Mirror" parent="." index="3"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 35.0
|
|
||||||
|
|
|
@ -1,20 +1,7 @@
|
||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://src/Tools/SelectionTools/SelectionTool.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://src/Tools/SelectionTools/MagicWand.gd" type="Script" id=2]
|
[ext_resource path="res://src/Tools/SelectionTools/MagicWand.gd" type="Script" id=2]
|
||||||
|
|
||||||
[node name="ToolOptions" instance=ExtResource( 1 )]
|
[node name="ToolOptions" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="PixelPerfect" parent="." index="1"]
|
|
||||||
visible = false
|
|
||||||
|
|
||||||
[node name="EmptySpacer" parent="." index="2"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 30.0
|
|
||||||
|
|
||||||
[node name="Mirror" parent="." index="3"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 35.0
|
|
||||||
|
|
|
@ -1,20 +1,7 @@
|
||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://src/Tools/SelectionTools/SelectionTool.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://src/Tools/SelectionTools/RectSelect.gd" type="Script" id=2]
|
[ext_resource path="res://src/Tools/SelectionTools/RectSelect.gd" type="Script" id=2]
|
||||||
|
|
||||||
[node name="ToolOptions" instance=ExtResource( 1 )]
|
[node name="ToolOptions" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="PixelPerfect" parent="." index="1"]
|
|
||||||
visible = false
|
|
||||||
|
|
||||||
[node name="EmptySpacer" parent="." index="2"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 30.0
|
|
||||||
|
|
||||||
[node name="Mirror" parent="." index="3"]
|
|
||||||
visible = false
|
|
||||||
margin_top = 18.0
|
|
||||||
margin_bottom = 35.0
|
|
||||||
|
|
Loading…
Reference in a new issue