Commit graph

17 commits

Author SHA1 Message Date
Petr Kalis
b16af10670 Removed obsolete method and imports
Fixed in get_linked_representation_id instead
2023-02-09 16:27:34 +01:00
Petr Kalis
4edf16cad6 Fix - updated usage of correct variables 2023-02-08 17:26:48 +01:00
Petr Kalis
d9877ae623 Refactor - remove explict handling of hero version
If representation_id should be added(downloaded) it shouldn't download hero version if downloaded repre is actually latest, eg hero version. They files are  completely separate.
Hero version should be downloaded explicitly in Loader.
2023-02-08 16:54:20 +01:00
Petr Kalis
6894e17bbc Refactor - use values from context if available
Remove unnecessary keys from data
2023-02-08 16:18:45 +01:00
Petr Kalis
60c6a61779 Fix - added docstring 2023-01-25 18:27:08 +01:00
Petr Kalis
977d4263cb Fix - addSite loader handles hero version
If adding site to representation presence of hero version is checked, if found hero version is marked to be donwloaded too.
2023-01-20 19:39:52 +01:00
Petr Kalis
469ba24879 Fix - updated to not use deprecated function 2022-09-05 12:27:23 +02:00
Jakub Trllo
c8ef54e9ce use new source of 'get_linked_ids_for_representations' 2022-08-31 18:22:04 +02:00
Petr Kalis
ad3dfa872e OP-2951 - refactor sync loaders
Changed structure of loaders bit, cannot use isinstance check though.
2022-04-11 12:30:33 +02:00
Petr Kalis
4b34050569 OP-2951 - clean up of unnecessary argument
force and force_only_broken could be replaced only by force and explicitly catching SiteAlreadyPresentError
2022-04-08 20:33:02 +02:00
Petr Kalis
e150db350f Docs - changed docstring 2022-04-08 12:38:27 +02:00
Petr Kalis
6b6c466d8b OP-2951 - fix wrong variable 2022-03-31 12:00:48 +02:00
Petr Kalis
f6fb60bb49
Update openpype/plugins/load/add_site.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2022-03-31 11:53:58 +02:00
Petr Kalis
a0a2e2678e OP-2951 - fixed typo 2022-03-29 14:07:57 +02:00
Petr Kalis
d340d05bf0 OP-2951 - implemented synching referenced files in workfile
When workfile is synched, it checks for referenced files (added by Loader) and tries to sync them too.
2022-03-29 13:37:12 +02:00
Jakub Trllo
c5ac2290f6 use moved functions in hosts and tools 2022-03-14 11:36:17 +01:00
Petr Kalis
399f9bd059 SyncServer adding functionality to Loader
In one big commit as PR wasnt merged before rebranding and merge exploded
2021-04-06 12:27:49 +02:00