[Bf-blender-cvs] [4247a56cde8] temp_bmesh_multires: Add back hackish fix for clang bug. I should probably file a bug report with the clang people.

Joseph Eagar noreply at git.blender.org
Sun Jul 18 22:16:46 CEST 2021


Commit: 4247a56cde88532724f87584766aef26ba2d68f8
Author: Joseph Eagar
Date:   Sun Jul 18 13:15:43 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB4247a56cde88532724f87584766aef26ba2d68f8

Add back hackish fix for clang bug.  I should probably
file a bug report with the clang people.

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

M	source/blender/blenkernel/intern/dyntopo.c

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

diff --git a/source/blender/blenkernel/intern/dyntopo.c b/source/blender/blenkernel/intern/dyntopo.c
index a15fd4ce875..75a3d7fe075 100644
--- a/source/blender/blenkernel/intern/dyntopo.c
+++ b/source/blender/blenkernel/intern/dyntopo.c
@@ -2342,7 +2342,8 @@ static bool pbvh_bmesh_collapse_short_edges(EdgeQueueContext *eq_ctx,
   return any_collapsed;
 }
 
-static bool cleanup_valence_3_4(PBVH *pbvh,
+//need to file a CLANG bug
+ATTR_NO_OPT static bool cleanup_valence_3_4(PBVH *pbvh,
                                 const float center[3],
                                 const float view_normal[3],
                                 float radius,



More information about the Bf-blender-cvs mailing list