diff options
-rw-r--r-- | source/blender/editors/object/object_edit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index 62389be9f56..8fce6dce26a 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -1565,14 +1565,6 @@ static int object_mode_set_exec(bContext *C, wmOperator *op) } } - /* if type is OB_GPENCIL, set cursor mode */ - if (ob->type == OB_GPENCIL) { - if (ob->data) { - bGPdata *gpd = (bGPdata *)ob->data; - ED_gpencil_setup_modes(C, gpd, ob->mode); - } - } - if (use_submode) { if (ob->type == OB_MESH) { if (ob->mode & OB_MODE_EDIT) { |