Merge branch 'blender-v4.2-release'
This commit is contained in:
@@ -982,6 +982,21 @@ void blo_do_versions_userdef(UserDef *userdef)
|
||||
BKE_preferences_extension_repo_add_default_system(userdef);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(402, 58)) {
|
||||
/* Remove add-ons which are no longer bundled by default
|
||||
* and have no upgrade path to extensions in the UI. */
|
||||
const char *addon_modules[] = {
|
||||
"depsgraph_debug",
|
||||
"io_coat3D",
|
||||
"io_import_images_as_planes",
|
||||
"io_mesh_stl",
|
||||
"io_scene_x3d",
|
||||
};
|
||||
for (int i = 0; i < ARRAY_SIZE(addon_modules); i++) {
|
||||
BKE_addon_remove_safe(&userdef->addons, addon_modules[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Always bump subversion in BKE_blender_version.h when adding versioning
|
||||
* code here, and wrap it inside a USER_VERSION_ATLEAST check.
|
||||
|
||||
Reference in New Issue
Block a user