io_scene_3ds: Update for Blender 3.x #104507
@ -13,6 +13,7 @@ bl_info = {
|
||||
"version": (0, 1),
|
||||
"blender": (2, 80, 0),
|
||||
"description": "Various dependency graph debugging tools",
|
||||
"location": "Properties > View Layer > Dependency Graph",
|
||||
"warning": "",
|
||||
"doc_url": "",
|
||||
"tracker_url": "",
|
||||
|
@ -146,7 +146,8 @@ class NWMergeShadersMenu(Menu, NWBase):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
for type in ('MIX', 'ADD'):
|
||||
props = layout.operator(operators.NWMergeNodes.bl_idname, text=type)
|
||||
name = f'{type.capitalize()} Shader'
|
||||
props = layout.operator(operators.NWMergeNodes.bl_idname, text=name)
|
||||
props.mode = type
|
||||
props.merge_type = 'SHADER'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user