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:
authorHans Goudey <h.goudey@me.com>2022-03-16 20:33:36 +0300
committerHans Goudey <h.goudey@me.com>2022-03-16 20:33:36 +0300
commit2564d152d6edf65afcb573598a1303483c62eb06 (patch)
tree378ffe6dc426d769eda0635971f06849cfef301c /source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
parent263c5b33d697f6202e3d9b07317e1dc05ffb9a25 (diff)
Cleanup: Remove unnecessary namespace specification
Ever since d5b72fb06cd0405c46, shader nodes have been in the `blender::nodes` namespace, so they don't need to use that to access Blender's C++ types and functions.
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_tex_checker.cc')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_tex_checker.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc b/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
index 047ae303260..b0e5639c893 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc
@@ -61,9 +61,7 @@ class NodeTexChecker : public fn::MultiFunction {
return signature.build();
}
- void call(blender::IndexMask mask,
- fn::MFParams params,
- fn::MFContext UNUSED(context)) const override
+ void call(IndexMask mask, fn::MFParams params, fn::MFContext UNUSED(context)) const override
{
const VArray<float3> &vector = params.readonly_single_input<float3>(0, "Vector");
const VArray<ColorGeometry4f> &color1 = params.readonly_single_input<ColorGeometry4f>(
@@ -94,8 +92,7 @@ class NodeTexChecker : public fn::MultiFunction {
}
};
-static void sh_node_tex_checker_build_multi_function(
- blender::nodes::NodeMultiFunctionBuilder &builder)
+static void sh_node_tex_checker_build_multi_function(NodeMultiFunctionBuilder &builder)
{
static NodeTexChecker fn;
builder.set_matching_fn(fn);