Generation op will abort if diffuse texture isn't found + options for failing silently or with error message. TODO: found out how to create a pop-up panel with error message that fades away if not interacted with for a couple seconds...

This commit is contained in:
William Herald Snyder
2022-09-29 07:11:47 -04:00
parent 45782f9a2f
commit d359975bd6
3 changed files with 32 additions and 17 deletions

View File

@@ -297,4 +297,5 @@ class MaterialPropertiesPanel(bpy.types.Panel):
op_props = layout.operator("swbf_msh.generate_material_nodes", text="Generate Nodes")
op_props.material_name = context.material.name
op_props.fail_silently = False