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