diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 91f605460c9..f844a0df4e5 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -530,6 +530,12 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef) } } + /* patch to set Dupli Lightprobes and Grease Pencil */ + if (!USER_VERSION_ATLEAST(280, 58)) { + userdef->dupflag |= USER_DUP_LIGHTPROBE; + userdef->dupflag |= USER_DUP_GPENCIL; + } + /** * Include next version bump. */ |