From 22f17f6294f9efd44bedf56284c6a449604b0a55 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Thu, 7 Apr 2022 22:33:21 +0100 Subject: [PATCH] Fix macro not usable in release builds --- generators/graph/voxel_generator_graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/graph/voxel_generator_graph.cpp b/generators/graph/voxel_generator_graph.cpp index 7d9793c8..315b5226 100644 --- a/generators/graph/voxel_generator_graph.cpp +++ b/generators/graph/voxel_generator_graph.cpp @@ -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());