소스 검색

Remove useless depth argument (will be removed, and 0 was the default value anyway) (#270)

Rudy Ges 3 달 전
부모
커밋
b0481f1cca
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      hrt/animgraph/Macros.hx

+ 4 - 4
hrt/animgraph/Macros.hx

@@ -69,9 +69,9 @@ class Macros {
 						} else if (p.name == "Float") {
 							return macro hrt.animgraph.Node.OutputType.TFloat;
 						}
-						Context.error('Unsupported type ${p}', f.pos, 0);
+						Context.error('Unsupported type ${p}', f.pos);
 					default:
-						Context.error('Unsupported type for field ${f.name}', f.pos, 0);
+						Context.error('Unsupported type for field ${f.name}', f.pos);
 					}
 				}
 			case FProp(_,_,t,_): {
@@ -82,9 +82,9 @@ class Macros {
 						} else if (p.name == "Float") {
 							return macro hrt.animgraph.Node.OutputType.TFloat;
 						}
-						Context.error('Unsupported type ${p}', f.pos, 0);
+						Context.error('Unsupported type ${p}', f.pos);
 					default:
-						Context.error('Unsupported type for field ${f.name}', f.pos, 0);
+						Context.error('Unsupported type for field ${f.name}', f.pos);
 					}
 				}
 			default: