22 lines
667 B
GDScript
22 lines
667 B
GDScript
extends SceneTree
|
|
## WEGWERF-Diagnose (t_50a07d4b): Warum hat _camo_tex_cache 4 Einträge?
|
|
## Druckt die Pfade (Keys) des Caches nach dem Aufbau der Testszene.
|
|
|
|
|
|
func _initialize() -> void:
|
|
_run.call_deferred()
|
|
|
|
|
|
func _run() -> void:
|
|
var scene: PackedScene = load("res://scenes/main.tscn")
|
|
var main = scene.instantiate()
|
|
root.add_child(main)
|
|
await process_frame
|
|
await process_frame
|
|
var main_glb: Array = main.get("glb_quellen")
|
|
print("main.gd glb_quellen=%s" % str(main_glb))
|
|
var store = load("res://src/viewport/glb_mesh_store.gd")
|
|
var cache: Dictionary = store.get("_camo_tex_cache")
|
|
for k in cache.keys():
|
|
print(" CACHE_KEY: '%s'" % str(k))
|
|
quit(0)
|