From 835f4068ae628cb4c9c2f4d3480a9da794e2146d Mon Sep 17 00:00:00 2001 From: lijenstina Date: Sat, 26 Aug 2017 10:48:24 +0200 Subject: Materials Utils Specials: Don't open the Tweak on all materials Bumped version to 1.0.3 Only open the Preview Active material if a new material is created and not also during assignment if the Use Tweak option is active No other Functional changes --- materials_utils/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'materials_utils') diff --git a/materials_utils/__init__.py b/materials_utils/__init__.py index c001a882..1cfec059 100644 --- a/materials_utils/__init__.py +++ b/materials_utils/__init__.py @@ -26,7 +26,7 @@ bl_info = { "name": "Materials Utils Specials", "author": "Community", - "version": (1, 0, 2), + "version": (1, 0, 3), "blender": (2, 77, 0), "location": "Materials Properties Specials > Shift Q", "description": "Materials Utils and Convertors", @@ -954,7 +954,7 @@ class VIEW3D_OT_assign_material(Operator): mat_to_texface() self.is_not_undo = False - if tweak: + if tweak and not self.is_existing: try: bpy.ops.view3d.show_mat_preview('INVOKE_DEFAULT') except: @@ -1971,7 +1971,7 @@ class material_specials_scene_props(PropertyGroup): maxlen=128, ) use_tweak = BoolProperty( - name="Tweak settings", + name="Tweak Settings", description="Open Preview Active Material after new Material creation", default=False, ) -- cgit v1.2.3