[Bf-blender-cvs] [f5de32562e2] geometry-nodes-transform-node: Cleanup: Remove unused variable

Hans Goudey noreply at git.blender.org
Sat Oct 24 19:42:32 CEST 2020


Commit: f5de32562e2fe3b7a062006a104ec617e345a177
Author: Hans Goudey
Date:   Fri Oct 23 16:05:57 2020 -0500
Branches: geometry-nodes-transform-node
https://developer.blender.org/rBf5de32562e2fe3b7a062006a104ec617e345a177

Cleanup: Remove unused variable

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_transform.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_transform.cc b/source/blender/nodes/geometry/nodes/node_geo_transform.cc
index 8b6ce9fcb08..1e58cea1ef7 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_transform.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_transform.cc
@@ -55,7 +55,6 @@ static void geo_transform_exec(bNode *UNUSED(node), GValueByName &inputs, GValue
 
   geometry_out = GeometryPtr{new Geometry()};
   Mesh *mesh_out = BKE_mesh_copy_for_eval(mesh_in, false);
-  const float translation_c[3] = {translation.x, translation.y, translation.z};
 
   /* Use only translation if rotation and scale are zero. */
   if (translation.length() > 0.0f && rotation.length() == 0.0f && scale.length() == 0.0f) {



More information about the Bf-blender-cvs mailing list