Nicolas Cannasse 4 年之前
父节点
当前提交
69c73a98d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hrt/prefab/l3d/MeshSpray.hx

+ 1 - 1
hrt/prefab/l3d/MeshSpray.hx

@@ -22,7 +22,7 @@ class MeshSpray extends Object3D {
 		var mspray = new MeshSprayObject(ctx.local3d);
 		// preallocate batches so their materials can be resolved
 		for( c in children ) {
-			if( !c.enabled || c.type != "model ") continue;
+			if( !c.enabled || c.type != "model" ) continue;
 			var batch = mspray.batchesMap.get(c.source);
 			if( batch == null ) {
 				var obj = ctx.loadModel(c.source).toMesh();