Commit graph

629 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
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
Roy Nieterau
551146ebe9 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-24 14:44:29 +02:00
Roy Nieterau
a8abe2dda8 Fix typo 2023-04-20 14:04:40 +02:00
Roy Nieterau
1ab4243d58 Tweak rig publish + load documentation, add documentation for Recreate rig animation instance action 2023-04-20 14:03:29 +02:00
Roy Nieterau
3c56b89606
Merge branch 'develop' into substance_integration 2023-04-19 10:18:37 +02:00
Milan Kolar
158626ffbf
Merge pull request #4714 from tokejepsen/feature/OP-4994_defining-plugins-to-load-on-Maya-start 2023-04-14 15:11:27 +02:00
Milan Kolar
22b0a894e6
Merge pull request #4707 from tokejepsen/bugfix/xgen_fixes 2023-04-14 15:10:43 +02:00
Ondřej Samohel
f8386fe66a
Merge branch 'develop' into substance_integration 2023-04-13 12:01:20 +02:00
Roy Nieterau
818382afed Avoid confusion with variant 2023-04-13 09:12:28 +02:00
Roy Nieterau
a016f34c54 Fix links 2023-04-13 09:11:27 +02:00
Roy Nieterau
30d1215593
Apply suggestions from code review
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-04-13 09:07:29 +02:00
Roy Nieterau
de2423b830 Add extra terminology to the key concepts glossary 2023-04-13 01:00:08 +02:00
Ondřej Samohel
88a5bd9543
Merge pull request #4664 from quadproduction/348-fix-studio-openpype-template-builder-set-wrong-frame-range-in-created-animation-instance 2023-04-12 17:34:13 +02:00
Thomas Fricard
f2dc123afb fix doc 2023-04-12 12:52:16 +02:00
Thomas Fricard
65180d7a62 update doc 2023-04-12 12:52:14 +02:00
Thomas Fricard
7f0992e21a add documentation for include/exclude handles maya settings 2023-04-12 12:45:40 +02:00
Roy Nieterau
c0ece932c3
Merge branch 'develop' into houdini_opengl 2023-04-11 17:28:42 +02:00
Thomas Fricard
681ac5babd remove doubled doc for namespace 2023-04-11 16:47:50 +02:00
Thomas Fricard
2304c32dee docs: add explanations for the index position in the namespace 2023-04-07 15:16:59 +02:00
Thomas Fricard
cc369928c1 modify doc to match new settings 2023-04-07 15:14:08 +02:00
Thomas Fricard
77ce35251a fix example for custom namespace in doc 2023-04-07 15:12:51 +02:00
Thomas Fricard
307e57bbfd change variables name for template 2023-04-07 15:12:51 +02:00
Thomas Fricard
14f6902fc0 modify doc 2023-04-07 15:11:02 +02:00
Thomas Fricard
3597b73ce6 change the token/description display for the reference loader in maya docs 2023-04-07 15:11:02 +02:00
Thomas Fricard
f0a6c933ea create settings and doc for the custom naming of referenced assets in maya 2023-04-07 15:10:54 +02:00
Roy Nieterau
5cca466c04
Merge branch 'develop' into houdini_opengl 2023-04-05 12:34:53 +02:00
Toke Jepsen
19458f25d0
Merge branch 'develop' into feature/OP-4994_defining-plugins-to-load-on-Maya-start 2023-04-05 07:40:30 +01:00
Roy Nieterau
4633f97cd2
Merge branch 'develop' into substance_integration 2023-04-04 16:27:45 +02:00
Roy Nieterau
49ff12da3c
Documentation: Move publisher related tips to publisher area (#4772)
* Move publisher related documentation to the publisher block

* Fix typo
2023-04-04 15:19:36 +02:00
Roy Nieterau
af7e4d035f
Merge branch 'develop' into houdini_opengl 2023-04-04 12:05:12 +02:00
Roy Nieterau
a93b635618
Maya: Remove pymel dependency (#4724)
* Remove pymel from `validate_no_namespace`

* Refactor `ValidateRigOutputIds` to remove pymel dependency

* Remove pymel dependency

* Fix logic

* Remove pymel dependency

* Remove py

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Opt-out early if possible

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove code that should've been removed

* Cosmetics

* Shush hound

* Refactor `get_parent` -> `get_node_parent`

* Fix argument

* Refactor logic for Validate Mesh Arnold Attributes

* Fix load image plane camera transform name

* Merge remote-tracking branch 'upstream/develop' into maya_remove_pymel

# Conflicts:
#	openpype/hosts/maya/plugins/load/load_reference.py
#	openpype/hosts/maya/plugins/publish/collect_review.py

* Fix bug

* Improve labels on messagebox buttons

* Fix repair

* Create empty mesh instead of cube

* Tweak code style based on comments by @fabiaserra

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-04-04 11:23:19 +02:00
Roy Nieterau
eb0f15002b
Merge branch 'develop' into houdini_opengl 2023-04-04 02:06:20 +02:00
Roy Nieterau
439967c8c2 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-04 00:15:30 +02:00
Libor Batek
88dddb3a00
Merge branch 'develop' into bugfix/xgen_fixes 2023-04-03 17:28:44 +02:00
Ondřej Samohel
9f61b72546
Merge pull request #4649 from tokejepsen/feature/OP-3926_gpu-cache 2023-04-03 16:48:38 +02:00
Roy Nieterau
6353251ee0 Cosmetics 2023-04-03 12:29:58 +02:00
Roy Nieterau
7facba7905 Update documentation 2023-04-03 12:28:52 +02:00
Roy Nieterau
d730b0d64d Merge remote-tracking branch 'upstream/develop' into houdini_opengl 2023-04-03 12:27:46 +02:00
Roy Nieterau
007b2a6853
Documentation: Add Extract Burnin documentation (#4765)
* Add Extract Burnin documentation

* Add links / fix links

* Simplify documentation

* Remove mention of houdini
2023-04-03 12:04:34 +02:00
Roy Nieterau
053021eb64 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-03 11:33:00 +02:00
Roy Nieterau
8e1a733479 Merge remote-tracking branch 'upstream/develop' into houdini_opengl 2023-04-03 10:45:51 +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
Jakub Ježek
bfec383488
Merge branch 'develop' into feature/OP-3926_gpu-cache 2023-03-31 23:04:17 +02:00
Jakub Ježek
7e52621339
Merge branch 'develop' into dependabot/npm_and_yarn/website/webpack-5.76.1 2023-03-31 22:55:13 +02:00
Toke Stuart Jepsen
7fb5242fca Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	openpype/settings/defaults/project_settings/maya.json
#	openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json
2023-03-31 16:20:08 +01:00
Roy Nieterau
889fafbd25 Add docs (+ tweak some of the existing ones) 2023-03-31 16:12:41 +02:00
Roy Nieterau
fd467450ea Update docs 2023-03-30 17:46:26 +02:00
Roy Nieterau
669a2256ef Merge develop 2023-03-29 14:46:41 +02:00