[Bf-blender-cvs] [c135ddb9b4c] sculpt-dev: sculpt-dev: Cleanup warnings
Joseph Eagar
noreply at git.blender.org
Tue Jun 14 19:52:31 CEST 2022
Commit: c135ddb9b4cb3789c91a88be79f7c6275dc334bf
Author: Joseph Eagar
Date: Tue Jun 14 10:52:12 2022 -0700
Branches: sculpt-dev
https://developer.blender.org/rBc135ddb9b4cb3789c91a88be79f7c6275dc334bf
sculpt-dev: Cleanup warnings
===================================================================
M source/blender/editors/sculpt_paint/sculpt_automasking.cc
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.cc b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
index ef5fa30ed47..00baf2ba442 100644
--- a/source/blender/editors/sculpt_paint/sculpt_automasking.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
@@ -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 {
More information about the Bf-blender-cvs
mailing list