浏览代码

FX: Remove trace

trethaller 5 年之前
父节点
当前提交
20978518df
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      hrt/prefab/fx/FX.hx

+ 1 - 4
hrt/prefab/fx/FX.hx

@@ -85,7 +85,7 @@ class FXAnimation extends h3d.scene.Object {
 		if(emitters != null)
 			for(emitter in emitters)
 				emitter.setParticleVibility(ctx.visibleFlag);
-		
+
 		if (additionLoopDuration > 0) {
 			if (totalTime > startLoop) {
 				var timeLeft = endLoop + additionLoopDuration - totalTime;
@@ -310,10 +310,7 @@ class FXAnimation extends h3d.scene.Object {
 			if( srcObj != null && targetObj != null ) {
 				srcObj.follow = targetObj;
 				srcObj.followPositionOnly = co.positionOnly;
-				//trace ("Resolve constraint for FX : " + objectName + " to " + targetName);
 			}
-			else
-				trace ("Failed te resolve constraint for FX : "+ this.toString() + ", from " + objectName + " to " + targetName);
 		}
 	}
 }