mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +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)
|
||||
errors += 1
|
||||
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.push_back("x")
|
||||
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)
|
||||
if typeof(coef) == TYPE_INT:
|
||||
coef = float(coef)
|
||||
print(str(dx)+", "+str(dy)+" = "+str(coef))
|
||||
match convolution_params.output_type:
|
||||
"f":
|
||||
if typeof(coef) == TYPE_REAL or convolution_params.input_type == "f":
|
||||
|
Loading…
Reference in New Issue
Block a user