forked from LeenkxTeam/LNXSDK
		
	Update leenkx/Sources/iron/Scene.hx
This commit is contained in:
		@ -887,7 +887,7 @@ class Scene {
 | 
				
			|||||||
						var ptype: String = t.props[i * 3 + 1];
 | 
											var ptype: String = t.props[i * 3 + 1];
 | 
				
			||||||
						var pval: Dynamic = t.props[i * 3 + 2];
 | 
											var pval: Dynamic = t.props[i * 3 + 2];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						if (StringTools.endsWith(ptype, "Object") && pval != "") {
 | 
											if (StringTools.endsWith(ptype, "Object") && pval != "" && pval != null) {
 | 
				
			||||||
							Reflect.setProperty(traitInst, pname, Scene.active.getChild(pval));
 | 
												Reflect.setProperty(traitInst, pname, Scene.active.getChild(pval));
 | 
				
			||||||
						} else if (ptype == "TSceneFormat" && pval != "") {
 | 
											} else if (ptype == "TSceneFormat" && pval != "") {
 | 
				
			||||||
							Data.getSceneRaw(pval, function (r: TSceneFormat) {
 | 
												Data.getSceneRaw(pval, function (r: TSceneFormat) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user