Cleanup: Undefined function declarations
This commit is contained in:
@@ -234,11 +234,6 @@ bool ED_workspace_layout_cycle(
|
||||
struct WorkSpace *workspace, const short direction,
|
||||
struct bContext *C) ATTR_NONNULL();
|
||||
|
||||
void ED_workspace_object_mode_sync_from_object(
|
||||
struct wmWindowManager *wm, WorkSpace *workspace, struct Object *obact);
|
||||
void ED_workspace_object_mode_sync_from_scene(
|
||||
struct wmWindowManager *wm, WorkSpace *workspace, struct Scene *scene);
|
||||
|
||||
void ED_workspace_status_text(struct bContext *C, const char *str);
|
||||
|
||||
/* anim */
|
||||
|
||||
@@ -4809,8 +4809,6 @@ static int particle_edit_toggle_exec(bContext *C, wmOperator *op)
|
||||
WM_event_add_notifier(C, NC_SCENE|ND_MODE|NS_MODE_OBJECT, NULL);
|
||||
}
|
||||
|
||||
// ED_workspace_object_mode_sync_from_object(wm, workspace, ob);
|
||||
|
||||
DEG_id_tag_update(&ob->id, OB_RECALC_DATA | DEG_TAG_COPY_ON_WRITE);
|
||||
|
||||
WM_msg_publish_rna_prop(mbus, &ob->id, ob, Object, mode);
|
||||
|
||||
@@ -5738,8 +5738,6 @@ void ED_object_sculptmode_enter_ex(
|
||||
}
|
||||
}
|
||||
|
||||
// ED_workspace_object_mode_sync_from_object(bmain->wm.first, workspace, ob);
|
||||
|
||||
/* Flush object mode. */
|
||||
DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE);
|
||||
}
|
||||
@@ -5790,8 +5788,6 @@ void ED_object_sculptmode_exit_ex(
|
||||
/* Leave sculptmode */
|
||||
ob->mode &= ~mode_flag;
|
||||
|
||||
// ED_workspace_object_mode_sync_from_object(G_MAIN->wm.first, workspace, ob);
|
||||
|
||||
BKE_sculptsession_free(ob);
|
||||
|
||||
paint_cursor_delete_textures();
|
||||
|
||||
Reference in New Issue
Block a user