Cleanup: Undefined function declarations

This commit is contained in:
2018-07-05 16:55:25 +02:00
parent d192d72312
commit ec98d8cc9e
3 changed files with 0 additions and 11 deletions

View File

@@ -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 */

View File

@@ -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);

View File

@@ -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();