mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-08 14:50:05 +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:
|
func refresh() -> void:
|
||||||
$TabContainer/World.set_wgworld(edited_world)
|
$TabContainer/World.set_wgworld(edited_world)
|
||||||
|
$TabContainer/Continent.set_wgworld(edited_world)
|
||||||
|
|
||||||
func set_wgworld(wgw : WorldGenWorld) -> void:
|
func set_wgworld(wgw : WorldGenWorld) -> void:
|
||||||
edited_world = wgw
|
edited_world = wgw
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
tool
|
tool
|
||||||
extends HBoxContainer
|
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