[Bf-blender-cvs] [c57ed65cc88] temp-deform-curves-with-surface: add comment

Jacques Lucke noreply at git.blender.org
Wed Jun 22 17:31:05 CEST 2022


Commit: c57ed65cc88418e290401599e28d51f1acb5dfd9
Author: Jacques Lucke
Date:   Thu May 5 15:51:01 2022 +0200
Branches: temp-deform-curves-with-surface
https://developer.blender.org/rBc57ed65cc88418e290401599e28d51f1acb5dfd9

add comment

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_deform_curves_with_surface.cc b/source/blender/nodes/geometry/nodes/node_geo_deform_curves_with_surface.cc
index 97b74e91466..b3c7ec8fb9c 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_deform_curves_with_surface.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_deform_curves_with_surface.cc
@@ -94,6 +94,7 @@ static void deform_curves(const MeshComponent &mesh_component,
       float3 new_normal;
       normal_tri_v3(new_normal, deformed_v0, deformed_v1, deformed_v2);
 
+      /* TODO: Take tangend axis into account as well. */
       float rotation_mat[3][3];
       rotation_between_vecs_to_mat3(rotation_mat, old_normal, new_normal);



More information about the Bf-blender-cvs mailing list