Commit: ec98d8cc9e34b3b4c8b5e73997e708276775c20a
Author: Sergey Sharybin
Date:   Thu Jul 5 16:55:25 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBec98d8cc9e34b3b4c8b5e73997e708276775c20a

Cleanup: Undefined function declarations

===================================================================

M       source/blender/editors/include/ED_screen.h
M       source/blender/editors/physics/particle_edit.c
M       source/blender/editors/sculpt_paint/sculpt.c

===================================================================

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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to