validate_smart_object_links
ValidateSmartObjectLinks
Bases: ContextPlugin, OptionalPyblishPluginMixin
Validate that no Smart Object layers have broken or missing links.
Checks both locally linked files (link.status == missing / unresolved) and CC Libraries assets (linkMissing flag). Broken links prevent correct rendering and must be resolved before publishing.
Source code in client/ayon_photoshop/plugins/publish/validate_smart_object_links.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
ValidateSmartObjectLinksRepair
Bases: Action
Rasterise broken Smart Object layers and re-embed them as local objects.
Warning: This repair is destructive — the original linked content is replaced by a rasterised snapshot that is re-wrapped as an embedded Smart Object. Consider relinking the original sources manually if you want to preserve editability.
Source code in client/ayon_photoshop/plugins/publish/validate_smart_object_links.py
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 | |