Sculpt: get rid of debug ATTR_NO_OPT's

This commit is contained in:
Joseph Eagar 2021-10-14 20:05:57 -07:00
parent da4138e1de
commit 151df9b3fc
3 changed files with 5 additions and 4 deletions

View File

@ -941,7 +941,7 @@ static void bm_log_face_bmface_copy(
/************************ Helpers for undo/redo ***********************/
// exec vert kill callbacks before killing faces
ATTR_NO_OPT static void bm_log_verts_unmake_pre(
static void bm_log_verts_unmake_pre(
BMesh *bm, BMLog *log, GHash *verts, BMLogEntry *entry, BMLogCallbacks *callbacks)
{
BMLogVert *lv;

View File

@ -3165,8 +3165,9 @@ bool SCULPT_stroke_is_dynamic_topology(const SculptSession *ss, const Brush *bru
/*** paint mesh ***/
ATTR_NO_OPT static void paint_mesh_restore_co_task_cb(
void *__restrict userdata, const int n, const TaskParallelTLS *__restrict UNUSED(tls))
static void paint_mesh_restore_co_task_cb(void *__restrict userdata,
const int n,
const TaskParallelTLS *__restrict UNUSED(tls))
{
SculptThreadedTaskData *data = userdata;
SculptSession *ss = data->ob->sculpt;

View File

@ -433,7 +433,7 @@ typedef struct BmeshUndoData {
bool is_redo;
} BmeshUndoData;
ATTR_NO_OPT static void bmesh_undo_on_vert_kill(BMVert *v, void *userdata)
static void bmesh_undo_on_vert_kill(BMVert *v, void *userdata)
{
BmeshUndoData *data = (BmeshUndoData *)userdata;
int ni = BM_ELEM_CD_GET_INT(v, data->cd_vert_node_offset);