You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Remove ERR_EXPLAIN from scene/* code
This commit is contained in:
@@ -307,11 +307,7 @@ Error VisualShader::connect_nodes(Type p_type, int p_from_node, int p_from_port,
|
||||
VisualShaderNode::PortType from_port_type = g->nodes[p_from_node].node->get_output_port_type(p_from_port);
|
||||
VisualShaderNode::PortType to_port_type = g->nodes[p_to_node].node->get_input_port_type(p_to_port);
|
||||
|
||||
if (!is_port_types_compatible(from_port_type, to_port_type)) {
|
||||
ERR_EXPLAIN("Incompatible port types (scalar/vec/bool) with transform");
|
||||
ERR_FAIL_V(ERR_INVALID_PARAMETER);
|
||||
return ERR_INVALID_PARAMETER;
|
||||
}
|
||||
ERR_FAIL_COND_V_MSG(!is_port_types_compatible(from_port_type, to_port_type), ERR_INVALID_PARAMETER, "Incompatible port types (scalar/vec/bool) with transform.");
|
||||
|
||||
for (List<Connection>::Element *E = g->connections.front(); E; E = E->next()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user