[Bf-extensions-cvs] [fd7fd3ab] blender-v2.79-release: Materials Utils Specials: Don't open the Tweak on all materials
lijenstina
noreply at git.blender.org
Mon Sep 4 15:17:32 CEST 2017
Commit: fd7fd3ab539c6af3acf4fd4d4e07f67ac6220291
Author: lijenstina
Date: Sat Aug 26 10:48:24 2017 +0200
Branches: blender-v2.79-release
https://developer.blender.org/rBAfd7fd3ab539c6af3acf4fd4d4e07f67ac6220291
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
===================================================================
M materials_utils/__init__.py
===================================================================
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,
)
More information about the Bf-extensions-cvs
mailing list