From 9a4fd6da0f3a6a27780ad868b0d0109ebfff0c8d Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 30 Apr 2019 17:36:58 +0200 Subject: Fix T63864 Duplicate Data options don't exist for Light Probe and Grease Pencil See revision D4766 --- source/blender/blenloader/intern/versioning_userdef.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/blenloader') 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. */ -- cgit v1.2.3