Prechádzať zdrojové kódy

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

Rudy Ges 1 mesiac pred
rodič
commit
b0481f1cca
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  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: