From 5bd8a2f4b8d4a65b363657179eba1633619f0d94 Mon Sep 17 00:00:00 2001 From: MURATAGAWA Kei Date: Sun, 28 Nov 2021 01:04:13 +0900 Subject: [PATCH 1/2] Change version to 3.0.0 --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index c50b9f5..5358ab2 100644 --- a/__init__.py +++ b/__init__.py @@ -5,7 +5,7 @@ "name": "Material Quick Override", "author": "Kei MURATAGAWA", "description": "Converts a material added by library override to a local material.", - "blender": (2, 93, 0), + "blender": (3, 0, 0), "version": (0, 1, 0), "location": "Material Properties", "warning": "", From 92c6cfe04295848e6955bf62129970cb985e3b76 Mon Sep 17 00:00:00 2001 From: MURATAGAWA Kei Date: Sun, 28 Nov 2021 01:53:44 +0900 Subject: [PATCH 2/2] Now compatible with Blender 3.0 --- README.md | 6 ++++++ __init__.py | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8184857..ba5d47c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ Material Quick Override This add-on adds "Quick Override" buttons that localizes the material added by Library Override. +Requirements +---- + +* Blender >= 3.0 + + Installation ---- diff --git a/__init__.py b/__init__.py index 5358ab2..30a6e5a 100644 --- a/__init__.py +++ b/__init__.py @@ -3,14 +3,14 @@ bl_info = { "name": "Material Quick Override", - "author": "Kei MURATAGAWA", + "author": "MURATAGAWA Kei", "description": "Converts a material added by library override to a local material.", "blender": (3, 0, 0), - "version": (0, 1, 0), + "version": (1, 0, 0), "location": "Material Properties", "warning": "", "category": "Material", - "wiki_url": "https://github.com/muratagawa/material_quick_override/", + "doc_url": "https://github.com/muratagawa/material_quick_override/", "tracker_url": "https://github.com/muratagawa/material_quick_override/issues", } @@ -49,14 +49,14 @@ def execute(self, context): # Skip if not library linked material if slot.material.library is None: - self.report({'INFO'}, "'%s' is not linked with library override. Skipped." %(name)) + self.report({'INFO'}, "'%s' is not linked with library override. Skipped." % name) continue new_mat = slot.material.copy() slot.link = 'OBJECT' slot.material = new_mat - self.report({'INFO'}, "Material '%s' overwritten." %(name)) + self.report({'INFO'}, "Material '%s' overwritten." % name) return {'FINISHED'}