[Bf-blender-cvs] [f8e1526fa61] master: Fix T87661: Attribute Combine XYZ node can't overwrite existing attribute

Jacques Lucke noreply at git.blender.org
Fri Apr 23 12:45:13 CEST 2021


Commit: f8e1526fa61b8a79b6514e4f265586732d28280d
Author: Jacques Lucke
Date:   Fri Apr 23 12:44:21 2021 +0200
Branches: master
https://developer.blender.org/rBf8e1526fa61b8a79b6514e4f265586732d28280d

Fix T87661: Attribute Combine XYZ node can't overwrite existing attribute

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc
index 69e628267a4..d7ed8b6caf8 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_combine_xyz.cc
@@ -112,6 +112,7 @@ static void combine_attributes(GeometryComponent &component, const GeoNodeExecPa
     const float z = attribute_z[i];
     attribute_result->set(i, {x, y, z});
   }
+  attribute_result.save();
 }
 
 static void geo_node_attribute_combine_xyz_exec(GeoNodeExecParams params)



More information about the Bf-blender-cvs mailing list