Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-04-30 18:36:58 +0300
committerAntonioya <blendergit@gmail.com>2019-04-30 18:37:16 +0300
commit9a4fd6da0f3a6a27780ad868b0d0109ebfff0c8d (patch)
treea9f2df7305d076a7446538c20bac1c435576e6d7 /source/blender/blenloader
parentd48a2f4a37b85c33917acd8dd514b69f017aac7f (diff)
Fix T63864 Duplicate Data options don't exist for Light Probe and Grease Pencil
See revision D4766
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c6
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.
*/