Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc b/source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc
index a8ee6dd8b12..0a089ac35eb 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_spline_cyclic.cc
@@ -16,7 +16,7 @@
#include "node_geometry_util.hh"
-namespace blender::nodes {
+namespace blender::nodes::node_geo_input_spline_cyclic_cc {
static void geo_node_input_spline_cyclic_declare(NodeDeclarationBuilder &b)
{
@@ -29,15 +29,17 @@ static void geo_node_input_spline_cyclic_exec(GeoNodeExecParams params)
params.set_output("Cyclic", std::move(cyclic_field));
}
-} // namespace blender::nodes
+} // namespace blender::nodes::node_geo_input_spline_cyclic_cc
void register_node_type_geo_input_spline_cyclic()
{
+ namespace file_ns = blender::nodes::node_geo_input_spline_cyclic_cc;
+
static bNodeType ntype;
geo_node_type_base(
&ntype, GEO_NODE_INPUT_SPLINE_CYCLIC, "Is Spline Cyclic", NODE_CLASS_INPUT, 0);
- ntype.geometry_node_execute = blender::nodes::geo_node_input_spline_cyclic_exec;
- ntype.declare = blender::nodes::geo_node_input_spline_cyclic_declare;
+ ntype.geometry_node_execute = file_ns::geo_node_input_spline_cyclic_exec;
+ ntype.declare = file_ns::geo_node_input_spline_cyclic_declare;
nodeRegisterType(&ntype);
}