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:
authorJacques Lucke <jacques@blender.org>2022-04-05 16:19:38 +0300
committerJacques Lucke <jacques@blender.org>2022-04-05 16:19:43 +0300
commite40b0d52cfcc44486fe3c2a96c5746dd1c8f4471 (patch)
treeb9874705eb4d1ceedc681fadc14c5d5a52901c60 /source/blender/blenloader/intern/versioning_userdef.c
parentfc848e9440be57ed42bbcf42c00d0546ca0229fd (diff)
Preferences: enable Duplicate Data for curves and point cloud objects
Those geometry types are expected to behave the same as e.g. mesh with respect to data copying. The fact that this was not enabled already was an oversight in the initial commit that added these types. Differential Revision: https://developer.blender.org/D14554
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index ac5e3f97948..b3f3b9cbf7d 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -1011,6 +1011,10 @@ void blo_do_versions_userdef(UserDef *userdef)
NULL);
}
+ if (!USER_VERSION_ATLEAST(302, 11)) {
+ userdef->dupflag |= USER_DUP_CURVES | USER_DUP_POINTCLOUD;
+ }
+
/**
* Versioning code until next subversion bump goes here.
*