validate_instance_asset
ValidateInstanceAsset
Bases: OptionalPyblishPluginMixin
, InstancePlugin
Validate the instance folder is the current selected context folder.
As it might happen that multiple worfiles are opened, switching between them would mess with selected context. In that case outputs might be output under wrong folder!
Repair action will use Context folder value (from Workfiles or Launcher) Closing and reopening with Workfiles will refresh Context value.
Source code in client/ayon_photoshop/plugins/publish/validate_instance_asset.py
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 71 72 73 74 75 76 |
|
ValidateInstanceFolderRepair
Bases: Action
Repair the instance folder.
Source code in client/ayon_photoshop/plugins/publish/validate_instance_asset.py
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 |
|