Commit graph

966 commits

Author SHA1 Message Date
Roy Nieterau
3c8e8bab54 Debug log instead of print spamming on opening (legacy) Creator UI 2023-06-30 23:26:02 +02:00
Jakub Ježek
131f8ddd89
Update openpype/pipeline/colorspace.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-06-30 16:23:11 +02:00
Jakub Jezek
051882bb3e
noqa excepetion 2023-06-30 16:16:12 +02:00
Jakub Jezek
3e93d163c0
check PyOpenColorIO rather then python version
https://github.com/ynput/OpenPype/pull/5212#issuecomment-1614651292
2023-06-30 16:11:37 +02:00
Jakub Ježek
e64526949b
Merge pull request #5212 from BigRoy/bugfix/colorspace_compatible_python_check_fix 2023-06-30 13:07:29 +03:00
Roy Nieterau
d7407d15c1
Add icon to RepairContextAction + logs to debug level + also add attempt repair for RepairAction + tweak docstring (#5213) 2023-06-29 09:48:22 +02:00
Roy Nieterau
f947e2efe7 Fix version comparison 2023-06-29 00:46:53 +02:00
Petr Kalis
84fe7e7c7b Revert backward incompatible change of path to template to multiplatform
It requires to use `work[root]` to handle multiplatformity.
In the case of customer request it needs to be reworked for proper multiplatformity.
2023-06-27 15:50:08 +02:00
Toke Stuart Jepsen
077af17672 Merge branch 'develop' into enhancement/maya_template
# Conflicts:
#	openpype/hosts/maya/api/workfile_template_builder.py
2023-06-27 10:46:29 +01: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
Toke Jepsen
5282cd26c5
Merge branch 'develop' into enhancement/maya_template 2023-06-23 14:51:01 +01:00
Toke Jepsen
dcf3b27493
Update openpype/pipeline/workfile/workfile_template_builder.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-06-23 14:49:46 +01:00
Jakub Ježek
2d1fc8e728
Update openpype/pipeline/colorspace.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-06-21 14:09:29 +02:00
Roy Nieterau
fcc2c692fe
Merge branch 'develop' into enhancement/maya_template 2023-06-21 13:25:14 +02:00
Jakub Jezek
b94b7ff5de
backward compatibility fix
studio could have set host config paths but those were not resolving to custom config OCIO environment path. Instead it was always falling back to global ocio config paths settings
2023-06-20 16:50:49 +02:00
Milan Kolar
2b9955dcc1
Merge pull request #5146 from BigRoy/enhancement/module_inventory_actions 2023-06-19 09:20:46 +02:00
Jakub Trllo
3d41ee6591
TrayPublisher & StandalonePublisher: Specify version (#5142)
* modified simple creator plugin to be able handle version control

* added 'allow_version_control' to simple creators

* don't remove 'create_context' from pyblish context during publishing

* implemented validator for existing version override

* actually fill version on collected instances

* version can be again changed from standalone publisher

* added comment to collector

* make sure the version is set always to int

* removed unused import

* disable validator if is disabled

* fix filtered instances loop
2023-06-16 16:26:04 +02:00
Jakub Trllo
7ecb03bb75
ImageIO: Minor fixes (#5147)
* define variable 'resolved_path' in right scope

* fixed missing 'input' variable

* make checks for keys more explicit and safe proof

* fixed caching of remapped colorspaces

* trying to fix indentation issue

* use safe keys pop
2023-06-16 14:17:08 +02:00
Roy Nieterau
359d685644 Draft to allow "inventory" actions to be supplied by a Module or Addon. 2023-06-15 14:35:47 +02:00
Roy Nieterau
c940b82fb9 Merge branch 'develop' of https://github.com/pypeclub/OpenPype into enhancement/maya_template
# Conflicts:
#	openpype/hosts/maya/api/lib.py
2023-06-12 15:46:13 +02:00
Jakub Jezek
44bf1dcc8a
backward combability for file rules 2023-06-09 16:33:47 +02:00
Jakub Jezek
f0d7876db7
backward compatibility
- for hosts which had activated ocio_config in overrides - those are group settings.
2023-06-09 16:26:22 +02:00
Jakub Jezek
ee41b877e6
refactor file rules logic to separate host activation
This is implementing logic introduced here https://github.com/ynput/OpenPype/pull/4700#discussion_r1193612003
2023-05-31 16:10:17 +02:00
Jakub Ježek
ec7b85b501
Merge branch 'develop' into feature/OP-5207_Global-host-color-management-activation 2023-05-31 15:41:02 +02:00
Jakub Trllo
6843ae8532
General: Small code cleanups (#5034)
* make sure the message type is set and unset correctly

* Update dummy data in readme

* remove debug message from main thread callbacks

* removed unused import

* cleanup code in muster addon

* simplified 'get_publish_instance_label' function

* even better json file handling

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

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-26 14:44:47 +02:00
Jakub Trllo
5f98c27836
apply settings on publish plugins can expect only project settings (#5037) 2023-05-26 12:00:09 +02:00
Jakub Trllo
124493affd
Publisher: UI works with instances without label (#5032)
* implemented helper function to get instance label

* use 'get_publish_instance_label' in some of existing plugins

* use 'get_publish_instance_label' in publisher controller
2023-05-25 11:51:44 +02:00
Thomas Fricard
55040e6f74
Drop-down menu to list all families in create placeholder (#4928)
* convert family text field to enum field

* get families from loaders and not creators

* refactor the list families part

* remove discover_loader_plugins call since there is already a variable with loaders plugins

---------

Co-authored-by: Thomas Fricard <tfricard@ws114.prs.vfx.int>
Co-authored-by: Clément Hector <clement.hector@gmail.com>
2023-05-25 10:32:36 +02:00
Jakub Jezek
0f8a998e3a
old docstring fix 2023-05-24 16:30:32 +02:00
Jakub Jezek
31d04e492b
cosmetics 2023-05-24 16:28:23 +02:00
Jakub Jezek
6473fac904
fixing cashing nested data structure 2023-05-24 16:25:34 +02:00
Jakub Jezek
c2055622ab
adding remapping functionality 2023-05-24 15:51:29 +02:00
Jakub Jezek
e0f7e106b8
Merge remote-tracking branch 'origin/enhancement/allow_nested_settings_templates' into feature/OP-5207_Global-host-color-management-activation 2023-05-24 14:23:23 +02:00
Jakub Jezek
ca9defe369
label improvements 2023-05-24 13:11:13 +02:00
Petr Kalis
e5733450e4
Global: plugins cleanup plugin will leave beauty rendered files (#4790)
* OP-1066 - add expected files in Deadline into explicit cleanup

Implicit cleanup doesn't work correctly, safest option is for DL submissions to mark only files that should be rendered to be deleted after successful publish.

* OP-1066 - moved collecting of expected files into collector

Parsing of json didn't have context implemented, it is easier to mark expected files in collector.

* OP-4793 - delete full stagingDir

Reviews might be extracted into staging dir, should be removed too.

* Revert "OP-4793 - delete full stagingDir"

This reverts commit 8b002191e1ad3b31a0cbe439ca1158946c43b049.

* OP-1066 - added function to mark representation files to be cleaned up

Should be applicable for all new representations, as reviews, thumbnails, to clean up their intermediate  files.

* OP-1066 - moved files to better file

Cleaned up occurences where not necessary.

* OP-1066 - removed unused import

* OP-1066 - removed unnecessary setdefault

* OP-1066 - removed unnecessary logging

* OP-1066 - cleanup metadata json

Try to cleanup parent folder if empty.
2023-05-24 12:18:57 +02:00
Roy Nieterau
17a38c32a4
Enhancement: Improve logging levels and messages for artist facing publish reports (#5018)
* Tweak log levels and message to be more informative to artist in report page

* Tweak levels and clarity of logs

* Tweak levels and clarity of logs + tweak grammar

* Cosmetics

* Improve logging

* Simplify logging

* Convert to debug log if it's skipping thumbnail integration if there's no thumbnail whatsoever to integrate

* Tweak to debug since they only show representation ids hardly understandable to the artist

* Match logging message across hosts + include filepath for full clarity

* Tweak message to clarify it only starts checking and not that it requires filling + to debug log

* Tweak to debug log if there's basically no thumbnail to integrate at the end

* Tweak log levels

- Artist doesn't care what's prepared, especially since afterwards it's logged what gets written to the database anyway

* Log clearly it's processing a legacy instance

* Cosmetics
2023-05-24 10:54:31 +02:00
Jakub Trllo
248336bb0d
General: Lib code cleanup (#5003)
* implemented 'is_func_signature_supported' function

* 'WeakMethod' can be imported from 'python_2_comp' all the time

* simplified events logic for callback registration

* modified docstrings in publish lib

* removed unused imports

* fixed 'run_openpype_process' docstring
2023-05-24 10:51:35 +02:00
Jakub Ježek
2c31dc1f21
Merge branch 'develop' into feature/OP-5207_Global-host-color-management-activation 2023-05-24 10:25:24 +02:00
Jakub Ježek
2be43ab6cc
Merge branch 'develop' into bugfix/OP-6027_Bug-Fusion-saver-render-publishing-doesnt-work 2023-05-23 22:24:40 +02:00
Jakub Trllo
a73d19b612
Publisher: Show instances in report page (#4915)
* renamed 'validations_widget.py' to 'report_page.py'

* Implemented base logic and widgets for logs

* make one report page

* added missing imports

* added missing constants

* move and rename 'VerticallScrollArea' to 'VerticalScrollArea'

* Validation erro item have id

* use 'ReportPageWidget' in window

* change 'bg-button-hover' key to 'bg-buttons-hover' in style colors

* move publish actions widgets

* Refactored how validation error title is showed

* remove item id from validation error item but add id to group items

* remove margins from actions widget

* shrink publish frame on finished publishing

* fix dash line draw

* add missing styles

* fix dash line in thumbnail widget

* added crash widget and changed layout a little

* added infor overlay message

* export and copy report happens in main window

* fix docstrings

* added per plugin filtering for validation errors

* added implementation of 'FlowLayout'

* actions buttons are in flow layout

* fix actions order

* implemented expanding text edit widget

* expand button has some signals and properties

* description and details are separated widgets

* fix typo

* added constans to '__all__'

* parse icon def is a function

* change layout of widgets

* fix log filtering

* added state icon to instances

* fix pyside6 issues

* implemented 'ClassicExpandBtnLabel' with arrow images

* modified details separator

* added some spacing to layouts

* fix syle of description inputs and progress color

* removed unused import

* add 'is_validation_error' to errored result

* validation error has different icon in logs view

* added plugin name to ValueError if happens

* spacer before detail inputs moved out of detals widget

* fix actions visible in craash report

* ignore pyblish base classes

* filter base plugins in discovery

* use 'is' comparison instead of '__eq__'

* fix action error handling

* Fix handling of 'None' values in comparison

* formatting fix

* Report instance card have same margins as in create mode

* publish instances are grouped by family

* log messages are rstripped
2023-05-23 18:16:05 +02:00
Jakub Ježek
561b4cb5d5
Update openpype/pipeline/publish/abstract_collect_render.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-23 16:31:28 +02:00
Jakub Jezek
81d41bb0ed
fixing frame range data passing from instance 2023-05-23 16:18:58 +02: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
Jakub Trllo
0845ba29dd
General: Project Anatomy on creators (#4962)
* added project anatomy to create context

* added project anatomy to create plugin
2023-05-15 14:08:35 +02:00
Ondřej Samohel
2019fddd2c
Merge branch 'develop' into feature/remove_and_load_inv_action 2023-05-15 12:38:16 +02:00
kaa
d3428da393
fix get_linked_assets project name arg (#4940) 2023-05-12 15:19:23 +02:00
Toke Stuart Jepsen
a129cec522 Merge branch 'develop' into enhancement/maya_template 2023-05-12 10:19:57 +01:00
Toke Stuart Jepsen
d2842b0cd7 post_representation_load > post_placeholder_process 2023-05-11 17:55:25 +01:00
Simone Barbieri
cb13e94467 Merge branch 'develop' into enhancement/OP-3751_Renaming_plugin_to_Ayon 2023-05-05 15:17:57 +01:00
Jakub Ježek
1cc60bb52a
Merge branch 'develop' into feature/OP-5207_Global-host-color-management-activation 2023-05-05 16:06:55 +02:00