mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Set the world into the continent editor.
This commit is contained in:
parent
c34b629b26
commit
65562c6523
@ -5,6 +5,7 @@ var edited_world
|
||||
|
||||
func refresh() -> void:
|
||||
$TabContainer/World.set_wgworld(edited_world)
|
||||
$TabContainer/Continent.set_wgworld(edited_world)
|
||||
|
||||
func set_wgworld(wgw : WorldGenWorld) -> void:
|
||||
edited_world = wgw
|
||||
|
@ -1,3 +1,15 @@
|
||||
tool
|
||||
extends HBoxContainer
|
||||
|
||||
var edited_world
|
||||
|
||||
func refresh() -> void:
|
||||
pass
|
||||
# $HSplitContainer/ResourcePropertyList.edit_resource(edited_world)
|
||||
# $VBoxContainer/DataList.set_edited_resource(edited_world)
|
||||
# $HSplitContainer/RectEditor.set_edited_resource(edited_world)
|
||||
|
||||
func set_wgworld(wgw : WorldGenWorld) -> void:
|
||||
edited_world = wgw
|
||||
|
||||
refresh()
|
||||
|
Loading…
Reference in New Issue
Block a user