Remove used code

This commit is contained in:
Flairieve 2019-11-26 23:33:20 -06:00
parent 2b33048819
commit 779142601c
3 changed files with 0 additions and 3 deletions

View File

@ -10,7 +10,6 @@ func _ready():
if i.get_extension() == "tscn":
var new_scene = load(i).instance()
add_child(new_scene)
#new_scene.set_anchors_preset(PRESET_CENTER)
func show_dialog(dialog_name):
var dialog_node = get_node_or_null(dialog_name)

View File

@ -114,7 +114,6 @@ func generate_property_container(category, node, propertyname, valuemod):
label.align = Label.ALIGN_CENTER
label.valign = Label.ALIGN_CENTER
var settertypenode
print(node, valuemod)
var get_value = node.get(valuemod)
match typeof(get_value):
TYPE_INT:

View File

@ -56,7 +56,6 @@ func button_pressed(button_name, button_item):
elif button_name == "Editor":
if button_item == "Settings":
dialogs.show_dialog("Settings")
#get_parent().get_node("Settings").show()
elif button_item == "Toggle Grid":
var grids_node = get_parent().get_node("PaintCanvasContainer/ViewportContainer/Viewport/PaintCanvas/Grids")
grids_node.visible = !grids_node.visible