Mark unsaved
This commit is contained in:
parent
1784176d24
commit
de2baa4637
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ func _on_minify_pressed():
|
|||
scene.remove_child(scene.get_node("ProjectionViewport"))
|
||||
scene.get_node("HeightMap").mesh_library = load("res://Assets/heightmap_meshlibrary.tres")
|
||||
scene.remove_child(scene.get_node("NotMinified"))
|
||||
EditorInterface.mark_scene_as_unsaved()
|
||||
|
||||
func _on_expand_pressed():
|
||||
var scene = get_scene()
|
||||
|
@ -55,6 +56,7 @@ func _on_expand_pressed():
|
|||
scene.add_child(sv)
|
||||
sv.owner = scene
|
||||
update_proj_map()
|
||||
EditorInterface.mark_scene_as_unsaved()
|
||||
|
||||
func _on_up_pressed():
|
||||
move_up_or_down(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue