[Bf-blender-cvs] [94a4dddb1b6] master: Fix: Don't tag curves component cache dirty for radius

Hans Goudey noreply at git.blender.org
Mon Feb 28 23:29:09 CET 2022


Commit: 94a4dddb1b64ec0912b7b2ac5b2264e86cd3d955
Author: Hans Goudey
Date:   Mon Feb 28 17:28:54 2022 -0500
Branches: master
https://developer.blender.org/rB94a4dddb1b64ec0912b7b2ac5b2264e86cd3d955

Fix: Don't tag curves component cache dirty for radius

Changing the radius does not invalidate a cache on
`CurvesGeometry`.

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

M	source/blender/blenkernel/intern/geometry_component_curves.cc

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

diff --git a/source/blender/blenkernel/intern/geometry_component_curves.cc b/source/blender/blenkernel/intern/geometry_component_curves.cc
index e32dd852e0e..5723d110aa0 100644
--- a/source/blender/blenkernel/intern/geometry_component_curves.cc
+++ b/source/blender/blenkernel/intern/geometry_component_curves.cc
@@ -357,7 +357,7 @@ static ComponentAttributeProviders create_attribute_providers_for_curve()
                                                point_access,
                                                make_array_read_attribute<float>,
                                                make_array_write_attribute<float>,
-                                               tag_component_normals_changed);
+                                               nullptr);
 
   static BuiltinCustomDataLayerProvider id("id",
                                            ATTR_DOMAIN_POINT,



More information about the Bf-blender-cvs mailing list