2
0
Эх сурвалжийг харах

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

Rudy Ges 3 сар өмнө
parent
commit
b0481f1cca

+ 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: