mirror of
https://github.com/Relintai/material-maker.git
synced 2025-02-27 12:04:19 +01:00
Removed useless debug output in convolution
This commit is contained in:
parent
e598f0867d
commit
5430f96f29
@ -62,7 +62,6 @@ func _get_shader_code(uv : String, output_index : int, context : MMGenContext) -
|
|||||||
expr_values.push_back(0)
|
expr_values.push_back(0)
|
||||||
errors += 1
|
errors += 1
|
||||||
print("No value for "+p.name)
|
print("No value for "+p.name)
|
||||||
print(p.name+" = "+str(expr_values[expr_values.size()-1]))
|
|
||||||
expr_variables_x_index = expr_values.size()
|
expr_variables_x_index = expr_values.size()
|
||||||
expr_variables.push_back("x")
|
expr_variables.push_back("x")
|
||||||
expr_values.push_back(0)
|
expr_values.push_back(0)
|
||||||
@ -86,7 +85,6 @@ func _get_shader_code(uv : String, output_index : int, context : MMGenContext) -
|
|||||||
coef = expr.execute(expr_values)
|
coef = expr.execute(expr_values)
|
||||||
if typeof(coef) == TYPE_INT:
|
if typeof(coef) == TYPE_INT:
|
||||||
coef = float(coef)
|
coef = float(coef)
|
||||||
print(str(dx)+", "+str(dy)+" = "+str(coef))
|
|
||||||
match convolution_params.output_type:
|
match convolution_params.output_type:
|
||||||
"f":
|
"f":
|
||||||
if typeof(coef) == TYPE_REAL or convolution_params.input_type == "f":
|
if typeof(coef) == TYPE_REAL or convolution_params.input_type == "f":
|
||||||
|
Loading…
Reference in New Issue
Block a user