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-03-21 21:06:41 +0300
committerlijenstina <lijenstina@gmail.com>2017-03-21 21:06:41 +0300
commitbb8d8dfa56c2086e68785dffe6ea301bbde089eb (patch)
tree84d45be4b378a10601debb7f3c287d26cc7aaa2c /materials_utils/warning_messages_utils.py
parentfdd8247e8691b37c17a9cffb01dfcf9b17a496a1 (diff)
Materials Utils: Update to version 1.0.1
Bumped version to 1.0.1 New operator VIEW3D_OT_set_new_material_name added located in the Specials menu Allows to set the base name of the newly created Material Also, calls the Preview Active Material upon material creation (optional) Small cleanup, Preferences UI fixes
Diffstat (limited to 'materials_utils/warning_messages_utils.py')
-rw-r--r--materials_utils/warning_messages_utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/materials_utils/warning_messages_utils.py b/materials_utils/warning_messages_utils.py
index 66c83714..7a7ab0de 100644
--- a/materials_utils/warning_messages_utils.py
+++ b/materials_utils/warning_messages_utils.py
@@ -3,7 +3,6 @@
import bpy
-# -----------------------------------------------------------------------------
# Globals #
# change the name for the properties settings
@@ -13,7 +12,6 @@ MAT_SPEC_NAME = "materials_specials"
COLLECT_REPORT = []
-# -----------------------------------------------------------------------------
# Functions #
def warning_messages(operator=None, warn='DEFAULT', object_name="", is_mat=None, fake=""):
@@ -148,7 +146,6 @@ def collect_report(collection="", is_start=False, is_final=False):
COLLECT_REPORT = []
-# -----------------------------------------------------------------------------
# utility functions:
def c_is_cycles_addon_enabled():
@@ -176,5 +173,6 @@ def unregister():
bpy.utils.unregister_module(__name__)
pass
+
if __name__ == "__main__":
register()