Fix macro not usable in release builds

This commit is contained in:
Marc Gilleron 2022-04-07 22:33:21 +01:00
parent 91cbed534e
commit 22f17f6294

View File

@ -223,7 +223,7 @@ void VoxelGeneratorGraph::set_expression_node_inputs(uint32_t node_id, PackedStr
const ProgramGraph::Port &port = node->inputs[i];
// Sounds annoying if you call this from a script, but this is supposed to be editor functionality for now
ERR_FAIL_COND_MSG(port.connections.size() > 0,
TTR("Cannot change input ports if connections exist, disconnect them first."));
ZN_TTR("Cannot change input ports if connections exist, disconnect them first."));
}
node->inputs.resize(names.size());