[Bf-blender-cvs] [6796ff5880a] master: Cleanup: unused variable warning
Charlie Jolly
noreply at git.blender.org
Tue May 11 15:03:55 CEST 2021
Commit: 6796ff5880a0895cd27b7e73066cad3dabfa4eb1
Author: Charlie Jolly
Date: Tue May 11 14:03:40 2021 +0100
Branches: master
https://developer.blender.org/rB6796ff5880a0895cd27b7e73066cad3dabfa4eb1
Cleanup: unused variable warning
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc
===================================================================
diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc
index e4a2a8d2e22..4d568ab5c3a 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_vector_rotate.cc
@@ -149,7 +149,6 @@ static void do_vector_rotate_around_axis(const VArray<float3> &vector,
MutableSpan<float3> results,
const bool invert)
{
- const int size = vector.size();
VArray_Span<float3> span_vector{vector};
VArray_Span<float3> span_center{center};
VArray_Span<float3> span_axis{axis};
@@ -170,7 +169,6 @@ static void do_vector_rotate_around_fixed_axis(const VArray<float3> &vector,
MutableSpan<float3> results,
const bool invert)
{
- const int size = vector.size();
VArray_Span<float3> span_vector{vector};
VArray_Span<float3> span_center{center};
VArray_Span<float> span_angle{angle};
@@ -189,7 +187,6 @@ static void do_vector_rotate_euler(const VArray<float3> &vector,
MutableSpan<float3> results,
const bool invert)
{
- const int size = vector.size();
VArray_Span<float3> span_vector{vector};
VArray_Span<float3> span_center{center};
VArray_Span<float3> span_rotation{rotation};
More information about the Bf-blender-cvs
mailing list