Commit graph

111 commits

Author SHA1 Message Date
Ondřej Samohel
19b3d66f5e
Merge branch 'develop' into substance_integration 2023-05-03 13:56:37 +02:00
Petr Kalis
fec104de8e
Fix: Locally copied version of last published workfile is not incremented (#4722)
* Fix: Locally copied version of last published workfile is not incremented

* fix subset first match

* correct anatomy name

* Fix typo and linting

* keep source filepath for further path conformation

* fetch also input dependencies of workfile

* required changes

* lint

* fix case only one subset

* Enhancement:  copy last workfile as reusable methods (#6)

* Enhancement: copy last published workfile as reusable methods (WiP)

* Added get_host_extensions method, added subset_id and las_version_doc access, added optional arguments to get_last_published_workfile

* Plugged in the new methods + minor changes

* Added docstrings, last workfile optional argument, and removed unused code

* Using new implementation to get local workfile path. Warning: It adds an extra dot to the extension which I need to fix

* Refactoring and fixed double dots

* Added match subset_id and get representation method, plus clan up

* Removed unused vars

* Fixed some rebasing errors

* delinted unchanged code and renamed get_representation into get_representation_with_task

* This time it's really delinted, I hope...

* Update openpype/modules/sync_server/sync_server.py

reprenation isn't the right spelling (:

Co-authored-by: Félix David <felixg.david@gmail.com>

* Changes based on reviews

* Fixed non imperative docstring and missing space

* Fixed another non imperative docstring

* Update openpype/modules/sync_server/sync_server.py

Fixed typo

Co-authored-by: Félix David <felixg.david@gmail.com>

Co-authored-by: Hayley GUILLOT <hayleyguillot@outlook.com>
Co-authored-by: Félix David <felixg.david@gmail.com>

* Fix: syntax error

* fix single subset case

* Restore sync server enabled test in hook

* Python2 syntax

* renaming and missing key case handling

* Fix local workfile overwritten on update in some cases (#7)

* Fix: Local workfile overwrite when local version number is higher than published workfile version number (WiP)

* Changed regex search, clean up

* Readded mistakenly removed newline

* lint

* remove anticipated functions for cleaner PR

* remove funcs from entities.py

* change to get_last_workfile_with_version

* clean

* Update openpype/modules/sync_server/sync_server.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* removed get_last_published_workfile_path

* moved hook to sync server module

* fix lint

* Refactor - download only if not present

* Refactor - change to list instead of set

* Refactor - removing unnecessary code

last_published_workfile_path must exists or we wouldn't get there. Use version only from that.

* Refactor - removing unnecessary imports

* Added check for max fail tries

* Refactor - cleaned up how to get last workfile

* Updated docstrings

* Remove unused imports

Co-authored-by: Félix David <felixg.david@gmail.com>

* OP-5466 - run this on more DCC

* Updated documentation

* Fix - handle hero versions

Skip hero versions, look only for versioned published to get max version id.

* Hound

* Refactor - simplified download_last_published_workfile

Logic should be in pre hook

* Skip if no profile found

* Removed unwanted import

* Use collected project_doc

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Use cached project_settings

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Félix David <felixg.david@gmail.com>
Co-authored-by: Sharkitty <81646000+Sharkitty@users.noreply.github.com>
Co-authored-by: Hayley GUILLOT <hayleyguillot@outlook.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-05-02 18:49:02 +02:00
Roy Nieterau
3c56b89606
Merge branch 'develop' into substance_integration 2023-04-19 10:18:37 +02:00
Toke Stuart Jepsen
ae10870373 Merge branch 'feature/OP-4994_defining-plugins-to-load-on-Maya-start' of https://github.com/tokejepsen/pype into feature/OP-4994_defining-plugins-to-load-on-Maya-start 2023-04-05 07:39:59 +01:00
Toke Stuart Jepsen
0ff0b6b645 Move launch logic to host module. 2023-04-05 07:39:53 +01:00
Roy Nieterau
053021eb64 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-03 11:33:00 +02:00
Jakub Ježek
acdaf7692c
Merge branch 'develop' into feature/OP-4994_defining-plugins-to-load-on-Maya-start 2023-03-31 23:13:42 +02:00
Toke Stuart Jepsen
6d2a45e951 Move -noAutoLoadPlugins flag to separate hook. 2023-03-27 16:42:35 +01:00
Toke Stuart Jepsen
f99c968df3 Add launch arguments and env 2023-03-27 09:48:13 +01:00
Jakub Ježek
2bbb91c8c9
Merge pull request #4680 from BigRoy/docs_minor_typo 2023-03-24 10:58:35 +01:00
Roy Nieterau
13aa1c82fa Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-03-23 13:41:07 +01:00
Roy Nieterau
a14b645d89
Fix class name and docstring (#4683) 2023-03-23 10:01:50 +01:00
Roy Nieterau
fb6c1f7f35 Fix grammar 2023-03-23 00:48:13 +01:00
Roy Nieterau
c0a2a190e5 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-03-20 14:06:49 +01:00
Kayla Man
1c97ec027f adding 3dsmax into apps_group at add_last_workfile_arg 2023-03-16 23:10:39 +08:00
Roy Nieterau
6d01fb8e14 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-03-03 12:44:04 +01:00
ynput
e57c9e8dd6 adding appgroup to prelaunch hook 2023-02-23 15:47:47 +01:00
Toke Stuart Jepsen
1c1a41ba5e Hound 2023-01-17 16:10:39 +00:00
Toke Stuart Jepsen
ff6fe13e2a Code cosmetics 2023-01-17 16:05:58 +00:00
Roy Nieterau
31e37e5a33 Use project doc and asset doc directly for get_template_data 2023-01-15 02:07:00 +01:00
Roy Nieterau
7167ab1332 Merge branch 'substance_integration' into substance_painter_ocio 2023-01-15 01:36:32 +01:00
Roy Nieterau
30ae52770d Rename application group to substancepainter for consistency and clarity 2023-01-15 01:33:21 +01:00
Roy Nieterau
33aafc3ff6 Implement OCIO support for Substance Painter + publish color space with textures 2023-01-15 01:30:43 +01:00
Toke Stuart Jepsen
2facf4d49e Open workfile post initialization 2023-01-06 10:19:21 +00:00
Roy Nieterau
30764456af Add launch with last workfile support for Substance Painter 2023-01-06 05:22:59 +01:00
Petr Kalis
2db4cc43aa Fix - typo 2022-11-18 17:52:57 +01:00
Félix David
088e7507b3 logging format 2022-11-15 09:06:09 +01:00
Jakub Trllo
189dc17ce3 fix typo 2022-11-09 11:51:00 +01:00
Jakub Trllo
4b1a19f3bf removed 'get_representation_last_created_time_on_site' function 2022-11-09 11:36:03 +01:00
Jakub Trllo
e89051466e check if is sync server enabled 2022-11-09 11:22:56 +01:00
Jakub Trllo
109c52809c updated prelaunch hook with new abilities of sync server 2022-11-09 11:20:21 +01:00
Jakub Trllo
8feedcbc15 fix last version check 2022-11-09 11:18:23 +01:00
Félix David
4408ea9b02 sort fields 2022-11-08 19:02:29 +01:00
Félix David
a76ad60351 use 'created_dt' of representation 2022-11-08 16:41:19 +01:00
Felix David
e359fb3d84 legacy compatibility 2022-11-04 10:06:59 +01:00
Felix David
bca965cf9c lint 2022-11-03 18:37:13 +01:00
Felix David
82be7ce8d0 Change to REST API using web server 2022-11-03 18:33:54 +01:00
Felix David
ed96f1d5b3 requested cosmetic changes 2022-11-03 11:41:59 +01:00
Felix David
c49017e671 lint 2022-11-01 10:50:30 +01:00
Felix David
895bfbaae5 comment length 2022-11-01 10:14:58 +01:00
Felix David
10fb9a1411 docstring 2022-11-01 10:10:12 +01:00
Felix David
576903575e Project setting 2022-11-01 10:00:26 +01:00
Félix David
ac2f268575 Feature: Auto download last published workfile as first workfile 2022-10-31 13:28:50 +01:00
Roy Nieterau
1a1c9f3014 Merge remote-tracking branch 'upstream/develop' into fusion_integration_v2
# Conflicts:
#	openpype/hosts/fusion/__init__.py
#	openpype/hosts/fusion/deploy/MenuScripts/openpype_menu.py
#	openpype/hosts/fusion/scripts/fusion_switch_shot.py
2022-09-13 23:26:24 +02:00
Jakub Trllo
acf3d67f24 moved 'create_workdir_extra_folders' to 'openpype.pipeline.workfile' 2022-08-31 15:59:20 +02:00
Jakub Trllo
939955339c use moved functions in code 2022-08-09 16:18:23 +02:00
Jakub Trllo
ad4aeb0071 use query functions on remaining places 2022-07-29 10:38:01 +02:00
Jakub Trllo
b4daf3bf76 use new anatomy source in hosts 2022-06-29 15:32:48 +02:00
Jakub Trllo
e91d84546e use AvalonMongoDB from openpype pipeline 2022-04-13 17:59:01 +02:00
Roy Nieterau
9bb5626224 Merge remote-tracking branch 'upstream/develop' into fusion_integration_v2 2022-03-29 19:43:02 +02:00