validate_material_library_is_saved
ValidateMaterialLibraryIsSaved
Bases: InstancePlugin
Validates Material Library is saved.
This validator checks if the material library has modified content (Saving, deleting, or renaming Materials, Maps, etc.) without saving the material library file.
Source code in client/ayon_max/plugins/publish/validate_material_library_is_saved.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | |
get_invalid(instance) classmethod
Get invalid nodes if the instance is not material library file saved.
Source code in client/ayon_max/plugins/publish/validate_material_library_is_saved.py
31 32 33 34 35 36 37 38 39 40 | |
repair(instance) classmethod
Repair action to save the material library.
Source code in client/ayon_max/plugins/publish/validate_material_library_is_saved.py
42 43 44 45 46 | |