Commit graph

30880 commits

Author SHA1 Message Date
Ynbot
c542934da4 [Automated] Bump version 2023-05-03 03:25:25 +00:00
ynbot
73732015a6
[Automated] Merged develop into main 2023-05-03 05:24:45 +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
Sharkitty
865ba2c975 edited assertion 2023-05-02 17:12:36 +02:00
Sharkitty
dc34bcc776 pre rebase 2023-05-02 17:09:26 +02:00
Sharkitty
cffe72f001 register inventory actions 2023-05-02 17:09:26 +02:00
Sharkitty
0d2a0f8723 Feature: Remove and load inv action 2023-05-02 17:09:26 +02:00
Ondrej Samohel
8988d3b953
🎨 soft-fail when pan/zoom locked on camera 2023-05-02 16:25:03 +02:00
Petr Kalis
b8ce6e9e9c
Photoshop: add autocreators for review and flat image (#4871)
* OP-5656 - added auto creator for review in PS

Review instance should be togglable.
Review instance needs to be created for non publisher based workflows.

* OP-5656 - refactored names

* OP-5656 - refactored names

* OP-5656 - new auto creator for flat image

In old version flat image was created if no instances were created. Explicit auto creator added for clarity.

Standardization of state of plugins

* OP-5656 - updated according to auto image creator

Subset template should be used from autocreator and not be separate.

* OP-5656 - fix proper creator name

* OP-5656 - fix log message

* OP-5656 - fix use enable state

* OP-5656 - fix formatting

* OP-5656 - add review toggle to image instance

For special cases where each image should have separate review.

* OP-5656 - fix description

* OP-5656 - fix not present asset and task in instance context

* OP-5656 - refactor - both auto creators should use same class

Provided separate description.

* OP-5656 - fix - propagate review to families

Image and auto image could have now review flag.
Bottom logic is only for Webpublisher.

* OP-5656 - fix - rename review files to avaid collision

Image family produces jpg and png, jpg review would clash with name. It should be replaced by 'jpg_jpg'.

* OP-5656 - fix - limit additional auto created only on WP

In artist based publishing auto image would be created by auto creator (if enabled). Artist might want to disable image creation.

* OP-5656 - added mark_for_review flag to Publish tab

* OP-5656 - fixes for auto creator

* OP-5656 - fixe - outputDef not needed

outputDef should contain dict of output definition. In PS it doesn't make sense as it has separate extract_review without output definitions.

* OP-5656 - added persistency of changes to auto creators

Changes as enabling/disabling, changing review flag should persist.

* OP-5656 - added documentation for admins

* OP-5656 - added link to new documentation for admins

* OP-5656 - Hound

* OP-5656 - Hound

* OP-5656 - fix shared families list

* OP-5656 - added default variant for review and workfile creator

For workfile Main was default variant, "" was for review.

* OP-5656 - fix - use values from Settings

* OP-5656 - fix - use original name of review for main review family

outputName cannot be in repre or file would have ..._jpg.jpg

* OP-5656 - refactor - standardized settings

Active by default denotes if created instance is active (eg. publishable) when created.

* OP-5656 - fixes for skipping collecting auto_image

data["ids"] are necessary for extracting. Members are physical layers in image, ids are "virtual" items, won't get grouped into real image instance.

* OP-5656 - reworked auto collectors

This allows to use automatic test for proper testing.

* OP-5656 - added automatic tests

* OP-5656 - fixes for auto collectors

* OP-5656 - removed unnecessary collector

Logic moved to auto collectors.

* OP-5656 - Hound
2023-05-02 11:19:50 +02:00
Michael reda
84cef9d3cf handel long lines 2023-05-02 11:12:18 +02:00
Kayla Man
932c59883a Merge branch 'develop' into enhancement/OP-5808_Enhancement-3dsmax-rendering-time-data-from-instance 2023-05-02 11:23:17 +08:00
Kayla Man
d5d21a73c4 Merge branch 'develop' into feature/OP-4245Data_Exchange_Geometry 2023-05-02 11:22:48 +08:00
Kayla Man
88e7b3386b cosmetic fix 2023-05-02 11:22:10 +08:00
Toke Stuart Jepsen
3e2559c0c2 Fix repair and validation 2023-04-29 16:32:52 +01:00
Alexey Bogomolov
1d2123dce8
Update .gitignore
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-04-29 10:42:15 +03:00
ynbot
7dbf2cd613
[Automated] Merged main into develop 2023-04-29 05:25:19 +02:00
Ynbot
37d7a87fd1 [Automated] Bump version 2023-04-29 03:25:06 +00:00
ynbot
b3c98702d7
[Automated] Merged develop into main 2023-04-29 05:24:25 +02:00
Alexey Bogomolov
4388da15df black formatting 2023-04-28 18:32:33 +03:00
Alexey Bogomolov
74c1e6f3bb defaults to py3.6, set actual macos python path 2023-04-28 18:12:26 +03:00
Alexey Bogomolov
affc00c77c remove bin folder from default values 2023-04-28 17:59:26 +03:00
Alexey Bogomolov
7cc08d026a upse pathlib instead of os.path, some cleanup 2023-04-28 17:57:29 +03:00
Alexey Bogomolov
015f13bb90 better variable naming for utils 2023-04-28 17:57:00 +03:00
Alexey Bogomolov
fdc94f3b88 add vscode workspace to .gitignore 2023-04-28 17:50:55 +03:00
Kayla Man
f3b1002f26 style fix 2023-04-28 19:02:17 +08:00
Kayla Man
13264ea11c roy's comment 2023-04-28 18:41:05 +08:00
Kayla Man
d4422d7ec5 cosmetic fix 2023-04-28 18:00:12 +08:00
Kayla Man
c544473723 set frame range validator to switch off by default 2023-04-28 17:59:36 +08:00
Kayla Man
eb78b8359b add validators and change to take the frame range from the render setting 2023-04-28 17:47:09 +08:00
Jacob Danell
4f5a85aee0 Removed familiy so it can version up even if workfile isn't published 2023-04-28 11:01:26 +02:00
Jacob Danell
d5b719b8c8 Made name more clear when showing up under Context in publisher 2023-04-28 11:00:51 +02:00
Jacob Danell
1cf5a9e6a7 Cleaned up imports 2023-04-28 09:24:17 +02:00
Jacob Danell
a1eff27bbf Added OptionalPyblishPluginMixin and is_active check 2023-04-28 09:17:09 +02:00
Jakub Trllo
4107874eb9
Project packager: Backup and restore can store only database (#4879)
* added helper functions to client mongo api

* pack and unpack project functions can work without project files

* added flag argument to pack project command to zip only project files

* unpack project has also only project argument

* Fix extractions
2023-04-27 23:41:00 +02:00
Seyedmohammadreza Hashemizadeh
9cbcef4fd9 apply suggetion. use attribute query 2023-04-27 16:30:44 +02:00
Seyedmohammadreza Hashemizadeh
6f57d567e4 get default cameras from maya 2023-04-27 16:30:44 +02:00
Seyedmohammadreza Hashemizadeh
289c0ffa06 remove defautl cameras from renderable cameras 2023-04-27 16:30:44 +02:00
Seyedmohammadreza Hashemizadeh
37ea36b811 cosmetiques 2023-04-27 16:22:01 +02:00
Seyedmohammadreza Hashemizadeh
0d4fb1d816 linting clean up 2023-04-27 16:22:01 +02:00
Seyedmohammadreza Hashemizadeh
61c37ebb22 add display handle setting for maya load references 2023-04-27 16:22:01 +02:00
Ondrej Samohel
7ffa52feb6
Merge remote-tracking branch 'Casgen/enhancement/OP-3751_Renaming_plugin_to_Ayon' into enhancement/OP-3751_Renaming_plugin_to_Ayon 2023-04-27 15:15:06 +02:00
Ondrej Samohel
557cbb72ce
♻️ escape rootless path 2023-04-27 11:26:57 +02:00
Joseff
668fc9f10f Preparation for the submission of the plugin to marketplace, fixed a bug with the cmdlet path not being valid. 2023-04-26 18:28:24 +02:00
Kayla Man
fdbe5ac3a1 adjustment 2023-04-26 18:45:39 +08:00
Kayla Man
12c9d10ba1 hound fix 2023-04-26 18:36:27 +08:00
Kayla Man
5d14869180 validator and selected nodes use for containers 2023-04-26 18:35:14 +08:00
Kayla Man
43453f3111 Merge branch 'develop' into feature/OP-4245Data_Exchange_Geometry 2023-04-26 16:24:11 +08:00
ynbot
dc527e3c5e
[Automated] Merged main into develop 2023-04-26 05:25:49 +02:00
Ynbot
a724bd1c77 [Automated] Bump version 2023-04-26 03:25:35 +00:00
ynbot
d1685dbf4e
[Automated] Merged develop into main 2023-04-26 05:24:54 +02:00