diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-21 16:27:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-30 17:10:03 +0300 |
commit | 9f78f471d7aeacd357349f0eb4b8f8bbc01db756 (patch) | |
tree | e6dd30928d9566ad86cf19658f691e3c78fe887c /source/blender/makesrna/RNA_enum_types.h | |
parent | df8a7ec3a81394fef4a21a6f1c1e4a43d5d44fba (diff) |
Workspaces: switch object mode when switching workspaces.
In the workspace properties a mode can now be configured that is
automatically enabled when switching to the workspace.
This is a test to validate how well it works. The weak point is
that if you don't have an appropriate object already select it will
not switch modes.
See T56475.
Diffstat (limited to 'source/blender/makesrna/RNA_enum_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_enum_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 8d3d7f81deb..613454e2f33 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -43,6 +43,7 @@ extern const EnumPropertyItem DummyRNA_DEFAULT_items[]; extern const EnumPropertyItem rna_enum_id_type_items[]; extern const EnumPropertyItem rna_enum_object_mode_items[]; +extern const EnumPropertyItem rna_enum_workspace_object_mode_items[]; extern const EnumPropertyItem rna_enum_object_empty_drawtype_items[]; extern const EnumPropertyItem rna_enum_object_gpencil_type_items[]; extern const EnumPropertyItem rna_enum_metaelem_type_items[]; |