diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:44 +0300 |
commit | b2b015a396372e39a7035f394f06405b68423fed (patch) | |
tree | d198df235a4a2156a2b869218e7238e16e857838 /materials_utils/warning_messages_utils.py | |
parent | c7f6ef3fef1315e97fd7326c08b7c7ad7b82762a (diff) |
Update for changes to Blender
Diffstat (limited to 'materials_utils/warning_messages_utils.py')
-rw-r--r-- | materials_utils/warning_messages_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/materials_utils/warning_messages_utils.py b/materials_utils/warning_messages_utils.py index 435bcdfd..1ce12d9d 100644 --- a/materials_utils/warning_messages_utils.py +++ b/materials_utils/warning_messages_utils.py @@ -6,7 +6,7 @@ import bpy # Globals # # change the name for the properties settings -MAT_SPEC_NAME = "materials_specials" +MAT_SPEC_NAME = "materials_context_menu" # collect messages for the report operator COLLECT_REPORT = [] @@ -139,7 +139,7 @@ def collect_report(collection="", is_start=False, is_final=False): # collection passes a string for appending to COLLECT_REPORT global # is_final switches to the final report with the operator in __init__ global COLLECT_REPORT - scene = bpy.context.scene.mat_specials + scene = bpy.context.scene.mat_context_menu use_report = scene.enable_report if is_start: |