Get rid of various ATTR_NO_OPT debug attributes left from two

commits ago.
This commit is contained in:
Joseph Eagar 2021-05-11 21:46:44 -07:00
parent fa06238aa7
commit f2c9706781
5 changed files with 5 additions and 5 deletions

View File

@ -871,7 +871,7 @@ BMLog *BM_log_from_existing_entries_create(BMesh *bm, BMLogEntry *entry)
return log;
}
ATTR_NO_OPT BMLog *BM_log_unfreeze(BMesh *bm, BMLogEntry *entry)
BMLog *BM_log_unfreeze(BMesh *bm, BMLogEntry *entry)
{
if (!entry || !entry->log) {
return NULL;

View File

@ -9192,7 +9192,7 @@ static void sculpt_init_session(Main *bmain, Depsgraph *depsgraph, Scene *scene,
}
}
ATTR_NO_OPT void ED_object_sculptmode_enter_ex(Main *bmain,
void ED_object_sculptmode_enter_ex(Main *bmain,
Depsgraph *depsgraph,
Scene *scene,
Object *ob,

View File

@ -82,7 +82,7 @@
#include <math.h>
#include <stdlib.h>
ATTR_NO_OPT void SCULPT_dynamic_topology_triangulate(BMesh *bm)
void SCULPT_dynamic_topology_triangulate(BMesh *bm)
{
if (bm->totloop == bm->totface * 3) {
return;

View File

@ -438,7 +438,7 @@ static EnumPropertyItem prop_sculpt_face_set_create_types[] = {
{0, NULL, 0, NULL, NULL},
};
ATTR_NO_OPT static int sculpt_face_set_create_exec(bContext *C, wmOperator *op)
static int sculpt_face_set_create_exec(bContext *C, wmOperator *op)
{
Object *ob = CTX_data_active_object(C);
SculptSession *ss = ob->sculpt;

View File

@ -651,7 +651,7 @@ static void sculpt_undo_refine_subdiv(Depsgraph *depsgraph,
MEM_freeN(deformed_verts);
}
ATTR_NO_OPT static void sculpt_undo_restore_list(bContext *C, Depsgraph *depsgraph, ListBase *lb)
static void sculpt_undo_restore_list(bContext *C, Depsgraph *depsgraph, ListBase *lb)
{
Scene *scene = CTX_data_scene(C);
ViewLayer *view_layer = CTX_data_view_layer(C);