Phase 14 - Organized directories.
This commit is contained in:
@@ -55,8 +55,8 @@
|
||||
|
||||
extends SceneTree
|
||||
|
||||
const STAGE_SCENE := preload("res://scenes/sandbox_stage.tscn")
|
||||
const ASSET_SELECTOR_SCENE := preload("res://scenes/asset_selector.tscn")
|
||||
const STAGE_SCENE := preload("res://scenes/stage/sandbox_stage.tscn")
|
||||
const ASSET_SELECTOR_SCENE := preload("res://scenes/stage/asset_selector.tscn")
|
||||
|
||||
## Button stylebox states the old pre-highlight could have overridden on a cell.
|
||||
const BUTTON_STYLEBOX_STATES: Array[String] = [
|
||||
@@ -235,7 +235,7 @@ func _test_bug4_selector_prehighlight_removed() -> void:
|
||||
_check(sel.get("_selected_id") == null, "member _selected_id removed")
|
||||
|
||||
# Source-presence: none of the deleted tokens may lurk in the script.
|
||||
var file := FileAccess.open("res://scripts/asset_selector.gd", FileAccess.READ)
|
||||
var file := FileAccess.open("res://scripts/shared/ui/asset_selector.gd", FileAccess.READ)
|
||||
_check(file != null, "asset_selector.gd is readable")
|
||||
if file != null:
|
||||
var text := file.get_as_text()
|
||||
@@ -271,7 +271,7 @@ func _test_bug4_stage_grid_no_prehighlight() -> void:
|
||||
var stage := _new_stage()
|
||||
|
||||
# Selected file missing -> fall-back-to-first-entry still runs before open().
|
||||
stage._spawner.selected_stickman_path = "res://stickmen/does_not_exist.stk"
|
||||
stage._spawner.selected_stickman_path = "res://content/stickmen/does_not_exist.stk"
|
||||
stage._open_selector("stickman")
|
||||
_check(stage._selector_open, "stage selector opens from a palette toggle")
|
||||
_check(stage._spawner.get_selected_stickman_path().ends_with("basic.stk"),
|
||||
|
||||
Reference in New Issue
Block a user