Commit graph

682 commits

Author SHA1 Message Date
Milan Kolar
3e69651f0e
Merge pull request #5102 from quadproduction/documentation/local-settings 2023-09-19 00:05:26 +02:00
Petr Kalis
d58e518c39
AfterEffects: added validator for missing files in FootageItems (#5590)
* OP-6345 - updated logic to return path and comp for FootageItem

Used later to check existance of file in published comps

* OP-6345 - added validator if footage files exist

Comp could contain multiple FootageItems, eg imported file(s). If file is missing render triggered by jsx fails silently.

* OP-6345 - updated extension

* OP-6345 - small updates after testing

* OP-6345 - fix - handle Solid Footage items

JSX failed silently on Solid item as it doesn't have any `.file`

* OP-6345 - enhance documentation

* OP-6345 - remove optionality

This plugin shouldn't be optional as when needed and skipped it result in really weird behavior.

* OP-6345 - updated documentation

Added missing plugins.

* OP-6345 - missed functionality for optionality

* OP-6345 - removed unneeded import
2023-09-11 17:23:08 +02:00
Petr Kalis
1fdbe05905
Photoshop: fixed blank Flatten image (#5600)
* OP-6763 - refresh all visible for Flatten image

Previously newly added layers were missing.

* OP-6763 - added explicit image collector

Creator was adding 'layer' metadata from workfile only during collect_instances, it was missing for newly added layers. This should be cleaner approach

* OP-6763 - removed unnecessary method overwrite

Creator is not adding layer to instance, separate collector created.

* OP-6763 - cleanup of names

Was failing when template for subset name for image family contained {layer}

* OP-6763 - cleanup, removed adding layer metadata

Separate collector created, cleaner.
Fixed propagation of mark_for_review

* OP-6763 - using members instead of layer data

Members should be more reliable.

* OP-6763 - updated image from Settings

Explicit subset name template was removed some time ago as confusing.

* OP-6763 - added explicit local plugin

Automated plugin has different logic, local would need to handle if auto_image is disabled by artist

* OP-6763 - Hound

* OP-6345 - fix - review for image family

Image family instance contained flattened content. Now it reuses previously extracted file without need to re-extract.
2023-09-11 17:21:38 +02:00
Petr Kalis
7d40debd64
Maya: do not create top level group on reference (#5402)
* OP-6358 - allow not creation of group for reference loader in Maya

Creation of wrapping group could be controlled by checkbox in ReferenceLoader options.

* OP-6358 - group name could be empty in Settings

This enables default behavior of not creating wrapping group without need of artists unchecking `Group imported assets`.

* OP-6358 - changed to safer logic

Stripping of | was weird and potentially dangerous (collision of names), this logic should be safer.
2023-08-08 11:00:02 +02:00
Toke Stuart Jepsen
a612956dd1 Update with compatible resolve version and latest docs 2023-07-18 15:35:01 +01:00
Ondřej Samohel
c27150a3bf
Merge pull request #5191 from ynput/maye_new_publisher_with_RR 2023-07-17 17:01:10 +02:00
Petr Kalis
7939836e65
Merge branch 'develop' into maye_new_publisher_with_RR 2023-07-17 11:08:55 +02:00
Ondřej Samohel
99c0031fbb
Merge branch 'develop' into feature/OP-3129_houdini-bgeo-publishing 2023-07-13 19:02:01 +02:00
Jakub Trllo
4b980b5b1b General: Removed unused cli commands (#4902)
* removed texturecopy and launch arguments from cli commands

* removed launch from documentation
2023-07-11 18:13:48 +02:00
Roy Nieterau
f58994d59c Loader: Remove context argument from Loader.__init__() (#4602)
* Remove Loader `context` argument to __init__

* Add backwards compatibility for Loader.load by still setting `.fname` attr

* Refactor/remove usage of `self.fname` in loaders

* Fix some refactoring

* Fix some refactoring

* Hound

* Revert invalid refactor

* Fix refactor

* Fix playblast panel collection

* Refactor missing method

* Fix typo

* Use the correct `context`

---------

Co-authored-by: Toke Stuart Jepsen <tokejepsen@gmail.com>
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-07-11 17:48:33 +02:00
Ondrej Samohel
ca7f75ec6f
📝 fix docs 2023-07-10 19:02:27 +02:00
Petr Kalis
b24db5580e Merge remote-tracking branch 'BigRoy/maya_new_publisher' into maye_new_publisher_with_RR 2023-07-03 15:16:24 +02:00
Ondřej Samohel
d3d478634e
Merge branch 'develop' into feature/OP-3129_houdini-bgeo-publishing 2023-06-28 14:43:13 +02:00
Petr Kalis
83242487fd
AfterEffects: support for workfile template builder (#5163)
* OP-5661 - added new menu item to AE extension

* OP-5661 - added support for addPlaceholder into extension

* OP-5661 - fix broken abstract loader

In some cases discover couldn't recognize that base plugin is abstract. Handled properly

* OP-5661 - WIP of implementing workfile template builder

* OP-5661 - added route to add placeholder

* OP-5661 - added route to build workfile

* OP-5661 - refactored arguments

* OP-5661 - implemented build workfile operation

moved from wrong position

* OP-5661 - removed wrong base plugin

* OP-5661 - implemented update placeholder logic

* OP-5661 - fix update placeholder metadata

* OP-5661 - added Creator placeholder plugin

* OP-5661 - pre_create_data could be passed into Creator

This allow to modify `pre_create_data` before automatically creating an instance. (Useful for overridding defaults.)

* OP-5661 - implemented populate of Create placeholder

* OP-5661 - implemented import of template

* OP-5661 - fix to populate correct create placeholder

Implemented function to select item(s) by their id. (CreateRender expects selected composition.)

* OP-5661 - fix workfile builder schema to multiplatform path

Path should be separated by platform.

* OP-5661 - implemented adding loaded items instead of placeholders

* OP-5661 - add Create Placeholder plugin to dropdown

* OP-5661 - add templated workfile to Settings

* OP-5661 - fix to choose template file from multiplatform

* OP-5661 - added documentation
2023-06-27 10:58:55 +02:00
Ondrej Samohel
936cc6cd02
🔀 merge develop 2023-06-20 15:21:31 +02:00
skacmazbelhaine
aea1adab65 update local settings for global settings PR 2023-06-13 17:03:51 +02:00
skacmazbelhaine
54bdd152f6 Correction of line breaks 2023-06-08 11:03:19 +02:00
skacmazbelhaine
85af201372 fix link path 2023-06-08 10:16:04 +02:00
skacmazbelhaine
fa133239f6 update after comments - local settings 2023-06-07 10:57:27 +02:00
skacmazbelhaine
ead57a2caf Update local settings 2023-06-06 16:30:11 +02:00
skacmazbelhaine
ce56b4efe0 Update local settings 2023-06-06 15:51:32 +02:00
skacmazbelhaine
6ee7780972 Update local settings 2023-06-06 15:51:20 +02:00
Ondrej Samohel
694cec5c6d
Merge remote-tracking branch 'origin/develop' into feature/OP-3933_RR-support 2023-06-05 12:35:53 +02:00
Ondřej Samohel
d2fff3d0b8
Merge branch 'develop' into feature/OP-2637_Houdini-Farm-publishingrendering 2023-06-05 10:27:42 +02:00
Alexey Bogomolov
8439d822ec
Merge branch 'develop' into enhancement/update-extract-review-letterbox-docs 2023-06-01 19:05:08 +03:00
Simone Barbieri
722f227ebb
Merge pull request #4905 from Tilix4/feature/blender_python_launch_script 2023-06-01 15:58:50 +01:00
Félix David
d0886e43fe fix doc 2023-06-01 16:42:42 +02:00
Ondřej Samohel
826fcf07cb
Merge branch 'develop' into feature/OP-4247_Data-Exchange-proxies 2023-06-01 13:10:25 +02:00
Alexey Bogomolov
b048a4a40e update letterbox screenshot 2023-06-01 01:05:02 +03:00
Alexey Bogomolov
717a2bc81c update letterbox docs 2023-06-01 01:04:10 +03:00
Toke Jepsen
e6d10fa335
Update settings_project_global.md (#5045) 2023-05-31 11:37:21 +02:00
Milan Kolar
c18e1d384d
Merge pull request #4919 from Michaelredaa/kitsu-sync-specific-projects 2023-05-30 22:01:23 +02:00
Petr Kalis
81cca7fc76 Merge develop 2023-05-30 11:45:58 +02:00
Milan Kolar
fd07632068
Merge branch 'develop' into feature/OP-4247_Data-Exchange-proxies 2023-05-29 23:26:20 +02:00
Petr Kalis
fe02a09312
Deadline: fix selection from multiple webservices (#5015)
* OP-4380 - override default DL from project settings

* OP-4380 - updated documentation
2023-05-24 10:01:59 +02:00
Kayla Man
cccc0acd1d add docs 2023-05-23 22:00:40 +08:00
Jakub Trllo
30fe6759c3
Publish: Enhance automated publish plugin settings (#4986)
* prepared helper functions for custom settings apply method

* publish plugin can have 'settings_category' attribute to define settings category

* Better 'settings_category' comment

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

* fix trailing spaces

* added more information about pyblish plugins to dev docs

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-22 13:28:09 +02:00
Petr Kalis
136af34a71
AfterEffects: set frame range and resolution (#4983)
* OP-5660 - adding menu buttons to Set frame range in AE

* OP-5660 - refactored location of scripts

set_settings should be in lib as it is used elsewhere, but launch_logic and lib created circular dependency.
Moved main to launch logic as it is actually handling launching.

* OP-5660 - added set_settings to creator

When instance gets created, set frame range and resolution from DB.

* OP-5660 - minor fix

* OP-5660 - updated extension zip

* OP-5660 - updated documentation

* OP-5660 - fixed missing exception

* OP-5660 - fixed argument

* OP-5560 - fix imports

* OP-5660 - updated extension

* OP-5660 - add js alert message for buttons

* OP-5660 - repacked extension

Without Anastasyi showed success, but extension wasn't loaded.

* OP-5660 - make log message nicer

* OP-5660 - added log if workfile not saved

* OP-5660 - provide defaults to limit None exception

* OP-5660 - updated error message
2023-05-22 10:45:20 +02:00
Petr Kalis
f6118ed6a8 Added docuumentation 2023-05-18 17:42:37 +02:00
Seyedmohammadreza Hashemizadeh
3df6897876 Add some documentations 2023-05-15 18:01:52 +02:00
Michael
ae7137a055
Merge branch 'develop' into kitsu-sync-specific-projects 2023-05-09 13:31:48 +03:00
Michael
a5efddf969
Update docs to be more specific
Co-authored-by: Félix David <felixg.david@gmail.com>
2023-05-05 15:47:39 +03:00
Michael
925ea3fe93
Update module_kitsu docs 2023-05-03 20:14:33 +03:00
Ondřej Samohel
19b3d66f5e
Merge branch 'develop' into substance_integration 2023-05-03 13:56:37 +02:00
Michael
d6e7cd638d
update kitsu docs 2023-05-03 13:02:08 +03: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
Félix David
7b6df29203 Feature: Blender hook to execute python scripts at launch 2023-04-26 12:48:51 +02:00
Kayla Man
9d3b788fb4 Merge branch 'develop' into feature/OP-4247_Data-Exchange-proxies 2023-04-26 16:03:19 +08:00
Roy Nieterau
551146ebe9 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-24 14:44:29 +02:00