diff options
author | Jacques Lucke <jacques@blender.org> | 2020-05-12 11:59:41 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-05-12 11:59:41 +0300 |
commit | e0b5a202311eb08d67725670325697ee0afeed96 (patch) | |
tree | dd1a6d5b63a7a9a3f1372e2f542d8294b9e454d7 /source/blender/makesdna | |
parent | f1f3381873d04f82a86af93e3477bf8442b32a43 (diff) |
Preferences: Customize default empty size for collection instances
The old value (1.0) was often too large in practice. When many collection
instances are created, the large empties create a mess in the viewport.
This adds a new preference setting in `Editing -> Objects -> New Objects`
called `Instance Empty Size`.
The value will be used as display size for new empties containing a
collection instance.
Reviewers: Severin
Differential Revision: https://developer.blender.org/D7650
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index d40f07c1fff..019e4c9ea9e 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -873,9 +873,11 @@ typedef struct UserDef { int sequencer_disk_cache_compression; /* eUserpref_DiskCacheCompression */ int sequencer_disk_cache_size_limit; short sequencer_disk_cache_flag; - char _pad5[2]; + float collection_instance_empty_size; + char _pad10[4]; + struct WalkNavigation walk_navigation; /** The UI for the user preferences. */ |