diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-05 17:55:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-05 17:56:47 +0300 |
commit | ec98d8cc9e34b3b4c8b5e73997e708276775c20a (patch) | |
tree | 0490e9f9d138a1dfb7bfd4f6bc73cc0b7c4fc4ff /source | |
parent | d192d723123add1dde3e9f7e9458aefcafb7e7d2 (diff) |
Cleanup: Undefined function declarations
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 5 | ||||
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 4 |
3 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 2b0729a8e13..914641c1add 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -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 */ diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index e637a58e8c6..a08e35d08a7 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -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); diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 946757d5d20..baaa2d638a3 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -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(); |