Commit graph

16229 commits

Author SHA1 Message Date
Jakub Ježek
5fcb19bc67
Merge branch 'develop' into bugfix/OP-2865_Loading-maya-reviews-into-resolve 2023-05-24 22:06:43 +02:00
Jakub Jezek
d4212ef991
Return any timeline in case none is detected as active
also adding in host test
2023-05-24 22:04:42 +02:00
Jakub Trllo
7e692ad5ac added option to nest settings templates 2023-05-24 14:01:50 +02:00
Simone Barbieri
69f9ed38fb
Merge pull request #5014 from ynput/bugfix/unreal-fix_get_full_name_usage 2023-05-24 11:54:42 +01:00
Ynbot
8410055b24 [Automated] Release 2023-05-24 10:21:38 +00: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
64qam
28cc85b003
Merge pull request #5011 from ynput/enhancement/OP-6019_nuke-multiple-reformat-thumbnail-exporter 2023-05-24 11:34:03 +02:00
Jakub Ježek
084a15ec8c
Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-24 10:58:47 +02:00
Jakub Ježek
22e7f9bd84
Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-24 10:58:40 +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
a03a0cc886
Merge pull request #5013 from ynput/bugfix/OP-6027_Bug-Fusion-saver-render-publishing-doesnt-work 2023-05-24 10:20:48 +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
Ynbot
179dc65f50 [Automated] Bump version 2023-05-24 03:25:50 +00:00
Jakub Jezek
96a4edf8cb
Resolve: fixing the issue with no active timeline
during bootstrap of loader
2023-05-23 23:02:52 +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
Roy Nieterau
409929c3b8 Cosmetics 2023-05-23 17:57:23 +02:00
Roy Nieterau
b70051b768 Preserve comp frame range after rendering 2023-05-23 17:55:54 +02:00
Jakub Ježek
88bba7005f
Merge branch 'develop' into bugfix/OP-6027_Bug-Fusion-saver-render-publishing-doesnt-work 2023-05-23 16:32:16 +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
Roy Nieterau
af6ce0bf9f Fix docstring 2023-05-23 14:21:38 +02:00
Roy Nieterau
4f24356139 Add validator for instance frame range to be within comp global in/out 2023-05-23 14:20:30 +02:00
Jakub Ježek
915c093485
Update openpype/hosts/resolve/hooks/pre_resolve_setup.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-23 13:55:58 +02:00
Jakub Ježek
06ba46df60
Merge branch 'develop' into enhancement/resolve-prelaunch-code-refactoring 2023-05-23 13:51:52 +02:00
Simone Barbieri
a200788729 Removed get_full_name() calls because of unexpected behaviour 2023-05-23 11:50:34 +01:00
Roy Nieterau
1b3b7b1a73 Render instances with their explicit frame ranges 2023-05-23 12:41:33 +02:00
Jakub Jezek
a68aa029e4
Renaming attribute to make more sense in Fusion context 2023-05-23 11:52:09 +02:00
Jakub Jezek
a762b310e8
inverting logic for ignoreFrameHandleCheck
this was ignoring settings in frame range target.
2023-05-23 11:51:23 +02:00
Jakub Ježek
95d4b051a6
Merge pull request #4999 from ynput/bugfix/nuke-existing-frames-missing 2023-05-23 11:22:16 +02:00
Jakub Ježek
341dc16701
Update openpype/hosts/nuke/plugins/publish/collect_writes.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-23 11:22:06 +02:00
Jakub Jezek
b62d066390
adding multi repositional nodes support to thumbnail exporter 2023-05-22 17:30:09 +02:00
Jakub Jezek
267bad5ba6
adding multiple reposition nodes attribute to settings 2023-05-22 16:59:12 +02:00
Roy Nieterau
bad6aa2d96
DJV open action extensions as set (#5005)
* Allow to open with djv by extension instead of representation name

* Turn extensions into `set` like on base loader class

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-22 16:50:38 +02:00
Roy Nieterau
72fee37af6
Allow to open with djv by extension instead of representation name (#5004) 2023-05-22 16:42:12 +02:00
Simone Barbieri
0aae3e9b2c
Merge pull request #5002 from ynput/bugfix/unreal-fix_frame_range_camera 2023-05-22 14:30:01 +01:00
Jakub Ježek
8ff3ba95c3
Merge branch 'develop' into feature/OP-5548_Fusion-Deadline-and-publish 2023-05-22 15:00:57 +02:00
Jakub Jezek
41fbe3031f
fusion: asset_db is collecting by default. 2023-05-22 14:59:58 +02:00
Simone Barbieri
bf77a9e5b9 Hound fixes 2023-05-22 13:43:27 +01:00
Simone Barbieri
cfa64b58e8 Fix the frame range when loading camera 2023-05-22 13:38:56 +01: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 Jezek
afd72b1097
files are missing issue 2023-05-22 11:31:56 +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
Ember Light
e178244d46
Fusion - Loader plugins updates (#4920)
* Added get_bmd_library to acces BMD's internal python library

* Added the option to import image and online families. + black formatted

* Added workfile loader

To import the content of another workfile into your current comp

* Fixed wrong family and extension in workfile loader

* black formatting

* Added missing formats to fbx importer

Fusions fbx importer can import a bunch of different formats other then fbx (confusing I know but it's how it is)

* Update openpype/hosts/fusion/plugins/load/load_workfile.py

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

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-22 10:43:11 +02:00
Ynbot
eea816f035 [Automated] Bump version 2023-05-20 03:25:02 +00:00
Sponge96
8de85e94a7
3dsmax: Refactored publish plugins to use proper implementation of pymxs (#4988)
* refactor: rt.execute(saveNodes) replaces with pymxs function

- changed the function to no longer use the selection and instead feed it the nodes directly from get_all_children function.
- removed maintained_seclection() as we're no longer overriding the selection of the Max scene.
- black also used to format.

* refactor: replaced rt.export string with proper pymxs implementation

- black used for formatting
- moved the general flow around as each function call is now seperate instead of large string

* refactor: replaced rt.execute with pymxs implementation

* refactor: replaced rt.execute with proper pymxs

* refactor: replaced rt.execute where possible

* fix: pymxs terrible argument handling

- noPrompt doesn't seem to work unless you call rt.name and is also positional
- using doesn't work as a string you need to feed it the actual rt object

* fix: exportFile to use correct arguments

* fix: rt.exportfile args

* fix: exportfile args

* refactor: replaced rt.execute with proper function

* refactor: removed use of rt.execute and replaced with pymxs

* refactor: removed configs from maintained_selection() block

* refactor: updated black to be 79 charlines
2023-05-19 17:15:09 +02:00
Jakub Trllo
51bba73ebe
Unreal: Addon Py2 compatibility (#4994)
* fix python 2 compatibility of unreal addon

* added a comment
2023-05-19 17:13:53 +02:00
Félix David
87802d0620
Fix: Download last workfile doesn't work if wf not already downloaded (#4942) 2023-05-18 14:39:27 +02:00
Ondřej Samohel
a8bce5a28e
Merge pull request #4877 from quadproduction/347-fix-studio-openpype-animation-instance-doesn-t-have-the-right-subset-name-when-created-with 2023-05-18 12:30:59 +02:00