You can now manage material set psets from the UI

This commit is contained in:
Dion Moult
2023-01-13 22:34:49 +11:00
parent a1ac820050
commit 9b9c900340
6 changed files with 87 additions and 0 deletions
@@ -47,6 +47,8 @@ def get_pset_props(context, obj, obj_type):
return bpy.data.objects.get(obj).PsetProperties
elif obj_type == "Material":
return bpy.data.materials.get(obj).PsetProperties
elif obj_type == "MaterialSet":
return bpy.data.objects.get(obj).MaterialSetPsetProperties
elif obj_type == "Task":
return context.scene.TaskPsetProperties
elif obj_type == "Resource":