diff --git a/OP_material_picker.py b/OP_material_picker.py index c108fb3..9525223 100644 --- a/OP_material_picker.py +++ b/OP_material_picker.py @@ -27,7 +27,7 @@ class GP_OT_pick_closest_material(Operator): bl_idname = "gp.pick_closest_material" bl_label = "Get Closest Stroke Material" bl_description = "Pick closest stroke material" - bl_options = {"REGISTER", "UNDO"} + bl_options = {"REGISTER"} # , "UNDO" @classmethod def poll(cls, context): @@ -128,7 +128,7 @@ class GP_OT_pick_closest_material(Operator): def execute(self, context): self.ob.active_material_index = self.stroke.material_index - self.report({'INFO'}, f'Mat: {self.ob.data.materials[self.stroke.material_index].name}') + # self.report({'INFO'}, f'Mat: {self.ob.data.materials[self.stroke.material_index].name}') return {'FINISHED'} # def modal(self, context, event):