sculpt-dev: Cleanup warnings

This commit is contained in:
Joseph Eagar 2022-06-14 10:52:12 -07:00
parent 443bc36759
commit c135ddb9b4
Notes: blender-bot 2023-02-14 11:35:46 +01:00
Referenced by issue #98942, Sub node messes up the dot product calculation.
1 changed files with 1 additions and 3 deletions

View File

@ -283,7 +283,7 @@ static bool sculpt_automasking_is_constrained_by_radius(const Brush *br)
return false;
}
typedef struct AutomaskFloodFillData {
struct AutomaskFloodFillData {
SculptCustomLayer *factorlayer;
float radius;
bool use_radius;
@ -333,9 +333,7 @@ static void SCULPT_topology_automasking_init(Sculpt *sd,
SCULPT_floodfill_init(ss, &flood);
const float radius = ss->cache ? ss->cache->radius : FLT_MAX;
char symm = SCULPT_mesh_symmetry_xyz_get(ob);
if (brush->sculpt_tool == SCULPT_TOOL_ARRAY) {
symm = 0;
SCULPT_floodfill_add_initial(&flood, SCULPT_active_vertex_get(ss));
}
else {