Merge branch 'blender-v4.2-release'
This commit is contained in:
@@ -94,12 +94,5 @@
|
||||
"system_demo_mode": ("demo_mode", "Demo Mode"),
|
||||
"system_property_chart": ("property_chart", "Property Chart"),
|
||||
"vdm_brush_baker": ("vdm_brush_baker", "VDM Brush Baker"),
|
||||
|
||||
# These were built-in but not mapped to an extension ("install" won't be shown in the UI).
|
||||
"io_coat3D": ("", "3D-Coat Applink"), # External dependencies.
|
||||
"depsgraph_debug": ("", "Dependency Graph Debug"), # External dependencies.
|
||||
"io_import_images_as_planes": ("", "Import Images as Planes"), # Integrated with Blender.
|
||||
"io_mesh_stl": ("", "STL Format"), # Was on by default.
|
||||
"io_scene_x3d": ("", "Web3D X3D/VRML2 format"), # Was on by default.
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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