t3du - Add TSceneFormat as Trait property type

This commit is contained in:
2025-07-21 23:12:43 +00:00
parent 07d8422f22
commit 40b52be713

View File

@ -889,6 +889,10 @@ class Scene {
if (StringTools.endsWith(ptype, "Object") && pval != "") {
Reflect.setProperty(traitInst, pname, Scene.active.getChild(pval));
} else if (ptype == "TSceneFormat" && pval != "") {
Data.getSceneRaw(pval, function (r: TSceneFormat) {
Reflect.setProperty(traitInst, pname, r);
});
}
else {
switch (ptype) {