Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijenstina <lijenstina@gmail.com>2017-08-26 11:48:24 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-09-04 16:11:52 +0300
commitfd7fd3ab539c6af3acf4fd4d4e07f67ac6220291 (patch)
tree2c3cf42ca7e60e0e9c430031fe960df9eaa7626d
parente80a849af2497766a86e7d29563a87deb341b207 (diff)
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
-rw-r--r--materials_utils/__init__.py6
1 files changed, 3 insertions, 3 deletions
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,
)