Commit graph

188 commits

Author SHA1 Message Date
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
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
Roy Nieterau
b70051b768 Preserve comp frame range after rendering 2023-05-23 17:55:54 +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
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
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
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
Jakub Jezek
25832ed496
collect frame range simplification 2023-05-17 15:07:10 +02:00
Jakub Jezek
40426cd69c
simplifying code 2023-05-17 15:03:21 +02:00
Jakub Jezek
163756d74c
adding comment for ambiguous function call 2023-05-17 14:58:24 +02:00
Jakub Jezek
089fe88ee1
task is on context 2023-05-17 14:53:09 +02:00
Jakub Jezek
fb3c4b613f
improving label 2023-05-17 14:47:32 +02:00
Jakub Jezek
497a97b70d
pr comment 2023-05-17 14:40:47 +02:00
Jakub Jezek
a6059afe86
pr comments
also renamed start_handle as it is easily confusable with handles
2023-05-17 14:37:37 +02:00
Jakub Ježek
da29890d9b
Update openpype/hosts/fusion/plugins/publish/extract_render_local.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-17 13:48:34 +02:00
Jakub Jezek
2d6919297c
fusion: adding comp range option 2023-05-16 11:40:00 +02:00
Jakub Jezek
10b953f8bf
fusion: converting frame range source to enum 2023-05-16 11:34:54 +02:00
Jakub Jezek
e14e0f5a40
hound 2023-05-15 22:11:35 +02:00
Jakub Jezek
478c85d7cc
Fusion: renaming confusing attribute name and label 2023-05-15 22:09:18 +02:00
Jakub Jezek
f51af7de27
fusion: renaming comp frame range related attributes 2023-05-15 21:54:01 +02:00
Jakub Jezek
37827f63ba
Merge branch 'develop' into feature/OP-5548_Fusion-Deadline-and-publish 2023-05-15 21:29:18 +02:00
Jakub Ježek
9a52475075
Merge branch 'develop' into enhancement/OP-5548_Fusion-saver-settings 2023-05-15 21:24:56 +02:00
Jakub Jezek
425ddc7b2b
fusion: reversing toolSaver back to tool 2023-05-12 14:26:15 +02:00
Jakub Jezek
02279a51c8
pr comments
https://github.com/ynput/OpenPype/pull/4955#discussion_r1192264433
https://github.com/ynput/OpenPype/pull/4955#discussion_r1192267231
2023-05-12 14:19:13 +02:00
Jakub Ježek
233c7b3454
Update openpype/hosts/fusion/plugins/create/create_saver.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-12 14:12:40 +02:00
Jakub Ježek
4e96bc46b3
Merge branch 'develop' into feature/OP-5548_Fusion-Deadline-and-publish 2023-05-12 13:42:47 +02:00
Jakub Jezek
5896c08013
hound 2023-05-12 13:38:23 +02:00
Jakub Jezek
c80842f5a9
fusion: improving custom frame range 2023-05-12 13:19:33 +02:00
Jakub Jezek
801b904aea
rewriting logic for frame ranges 2023-05-12 11:29:29 +02:00
Jakub Jezek
fbee0a8b3c
pr comments 2023-05-12 11:07:50 +02:00
Jakub Jezek
bf2e02699a
returning important condition 2023-05-11 12:20:56 +02:00
Jakub Jezek
9f1bdda8b3
fusion: removing obsolete code 2023-05-11 12:18:36 +02:00
Jakub Jezek
90f4e6b8bb
Merge branch 'enhancement/OP-5548_Fusion-saver-settings' into feature/OP-5548_Fusion-Deadline-and-publish 2023-05-10 16:42:34 +02:00
Jakub Jezek
f5215f323b
hound 2023-05-10 16:39:29 +02:00
Jakub Jezek
dfea365474
moving instnance id so it is imprinted once created
addressing issue form here https://github.com/ynput/OpenPype/pull/4943#issuecomment-1542241467
2023-05-10 16:38:17 +02:00
Jakub Jezek
27ac1b4590
Removing unmanaged compatibility
This fixes issue https://github.com/ynput/OpenPype/pull/4943#pullrequestreview-1420557288
2023-05-10 16:16:50 +02:00
Jakub Jezek
1a48ddefe4
normalizing path 2023-05-10 15:37:19 +02:00
Jakub Jezek
95237c43c7
adding todo for later renaming 2023-05-10 13:00:53 +02:00
Jakub Jezek
a08f9176b0
fusion: removing path making during creation 2023-05-10 12:55:30 +02:00
Jakub Jezek
98d27fa5a4
fusion: frame padding from anatomy templates 2023-05-10 12:54:30 +02:00
Jakub Jezek
55bebf8642
pr comments 2023-05-10 12:33:38 +02:00
Jakub Jezek
903d873dbe
fusion: frame ranges taken from instance 2023-05-10 11:19:08 +02:00
Jakub Jezek
b09efa9675
fusion: storing asset frame attribute at comp openpype_instance data 2023-05-10 11:18:30 +02:00
Jakub Jezek
b8e8ce6660
fusion: rewriting render local to work with new instance data
also adding colorspace data to representation
2023-05-09 17:22:01 +02:00
Jakub Jezek
7013be47de
Fusion: refactor validators to work with new collected data 2023-05-09 17:21:16 +02:00