Sculpt-dev: update doc comments for sculpt_intern.h

Also fixed a few warnings
This commit is contained in:
Joseph Eagar 2022-01-19 16:18:18 -08:00
parent 95919953af
commit 3e081fba86
5 changed files with 1288 additions and 1158 deletions

View File

@ -75,7 +75,7 @@ typedef struct {
static bool sculpt_and_constant_or_manual_detail_poll(bContext *C)
{
Object *ob = CTX_data_active_object(C);
Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
//Sculpt *sd = CTX_data_tool_settings(C)->sculpt;
/*checking for constant/manual mode isn't necassary since we do this on the python side
in the ui scripts*/

View File

@ -804,10 +804,6 @@ static float *sculpt_expand_poly_loop_falloff_create(Object *ob, const SculptVer
continue;
}
const SculptVertRef symm_vertex = sculpt_expand_get_vertex_index_for_symmetry_pass(
ob, symm_it, v);
// const int symm_vertex_i = BKE_pbvh_vertex_index_to_table(ss->pbvh, symm_vertex);
BLI_bitmap *poly_loop = sculpt_poly_loop_from_cursor(ob);
for (int i = 0; i < ss->totfaces; i++) {

View File

@ -75,7 +75,7 @@
typedef enum eSculptFaceSetByTopologyMode {
SCULPT_FACE_SET_TOPOLOGY_LOOSE_PART = 0,
SCULPT_FACE_SET_TOPOLOGY_POLY_LOOP = 1,
};
} eSculptFaceSetByTopologyMode;
static EnumPropertyItem prop_sculpt_face_set_by_topology[] = {
{

View File

@ -1045,6 +1045,10 @@ static FilterCache *sculpt_ipmask_filter_cache_init(Object *ob,
filter_cache->mask_filter_step_forward = sculpt_ipmask_vertex_contrast_increase_cb;
filter_cache->mask_filter_step_backward = sculpt_ipmask_vertex_contrast_decrease_cb;
break;
case IPMASK_FILTER_ADD_SUBSTRACT:
case IPMASK_FILTER_INVERT:
case IPMASK_FILTER_QUANTIZE:
break;
}
return filter_cache;

File diff suppressed because it is too large Load Diff