Disable addons which haven't been updated
Gave noisy warnings on startup.
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_workspace_types.h"
|
||||
|
||||
#include "BKE_addon.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_library.h"
|
||||
#include "BKE_main.h"
|
||||
@@ -95,6 +96,24 @@ void BLO_update_defaults_userpref_blend(void)
|
||||
U.flag &= ~USER_SCRIPT_AUTOEXEC_DISABLE;
|
||||
#endif
|
||||
|
||||
/* XXX, until these are working w/ 2.8x. */
|
||||
{
|
||||
const char *addon_id_remove[] = {
|
||||
"io_anim_bvh",
|
||||
"io_curve_svg",
|
||||
"io_mesh_ply",
|
||||
"io_mesh_stl",
|
||||
"io_mesh_uv_layout",
|
||||
"io_scene_3ds",
|
||||
"io_scene_fbx",
|
||||
"io_scene_obj",
|
||||
"io_scene_x3d",
|
||||
};
|
||||
for (int i = 0; i < ARRAY_SIZE(addon_id_remove); i++) {
|
||||
BKE_addon_remove_safe(&U.addons, addon_id_remove[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/* Ignore the theme saved in the blend file,
|
||||
* instead use the theme from 'userdef_default_theme.c' */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user