Add-ons: disable 3ds add-on in all existing preferences.
Silences warning when running with --debug. If/when this add-on is ported, users that need it can enable it again.
This commit is contained in:
@@ -80,11 +80,6 @@ void BLO_update_defaults_userpref_blend(void)
|
||||
MEM_freeN(addon->prop);
|
||||
addon->prop = NULL;
|
||||
}
|
||||
|
||||
if (STREQ(addon->module, "io_scene_3ds")) {
|
||||
BLI_remlink(&U.addons, addon);
|
||||
MEM_freeN(addon);
|
||||
}
|
||||
}
|
||||
|
||||
/* Transform tweak with single click and drag. */
|
||||
|
@@ -476,6 +476,11 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef)
|
||||
GP_PAINT_UNUSED_0);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 50)) {
|
||||
/* 3ds is no longer enabled by default and not ported yet. */
|
||||
BKE_addon_remove_safe(&userdef->addons, "io_scene_3ds");
|
||||
}
|
||||
|
||||
/**
|
||||
* Include next version bump.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user