Commit graph

35585 commits

Author SHA1 Message Date
Petr Kalis
7d94fb92c2
Fusion: new creator for image product type (#6057)
* Introduced image product type

'image' product type should result in single frame output, 'render' should be more focused on multiple frames.

* Updated logging

* Refactor moved generic creaor class to better location

* Update openpype/settings/entities/schemas/projects_schema/schema_project_fusion.json

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>

* Change label

It might be movie type not only image sequence.

* OP-7470 - fix name

* OP-7470 - update docstring

There were objections for setting up this creator as it seems unnecessary. There is currently no other way how to implement customer requirement but this, but in the future 'alias' product types implementation might solve this.

* Implementing changes from #6060

https://github.com/ynput/OpenPype/pull/6060

* Update openpype/settings/defaults/project_settings/fusion.json

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>

* Update server_addon/fusion/server/settings.py

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>

* Update openpype/hosts/fusion/api/plugin.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-7470 - added explicit frame field

Artist can insert specific frame from which `image` instance should be created.

* OP-7470 - fix name and logging

Prints better message even in debug mode.

* OP-7470 - update instance label

It contained original frames which was confusing.

* Update openpype/hosts/fusion/plugins/create/create_image_saver.py

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

* OP-7470 - fix documentation

* OP-7470 - moved frame range resolution earlier

This approach is safer, as frame range is resolved sooner.

* OP-7470 - added new validator for single frame

* OP-7470 - Hound

* OP-7470 - removed unnecessary as label

* OP-7470 - use internal class anatomy

* OP-7470 - add explicit settings_category to propagete values from Setting correctly

apply_settings is replaced by correct value in `settings_category`

* OP-7470 - typo

* OP-7470 - update docstring

* OP-7470 - update formatting data

This probably fixes issue with missing product key in intermediate product name.

* OP-7470 - moved around only proper fields

Some fields (frame and frame_range) are making sense only in specific creator.

* OP-7470 - added defaults to Settings

* OP-7470 - fixed typo

* OP-7470 - bumped up version

Settings changed, so addon version should change too. 0.1.2 is in develop

* Update openpype/hosts/fusion/plugins/publish/collect_instances.py

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

* OP-7470 - removed unnecessary variables

There was logic intended to use those, deemed not necessary.

* OP-7470 - update to error message

* OP-7470 - removed unneded method

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2024-01-15 10:32:39 +01:00
github-actions[bot]
8afd062337 chore(): update bug report / version 2024-01-13 03:26:00 +00:00
ynbot
0a1d789bb7
[Automated] Merged main into develop 2024-01-13 04:25:37 +01:00
Ynbot
494a1dd4a6 [Automated] Bump version 2024-01-13 03:25:27 +00:00
ynbot
46dd0a1855
[Automated] Merged develop into main 2024-01-13 04:24:55 +01:00
Simone Barbieri
2af78ce4ab
Merge pull request #6070 from ynput/bugfix/OP-7597-blender_fix-long-instance-names
Blender: Fix long names for instances
2024-01-12 15:12:05 +00:00
Simone Barbieri
e9d38f24f4 Renamed variable 2024-01-12 15:03:47 +00:00
github-actions[bot]
b5b85f7b7f chore(): update bug report / version 2024-01-12 13:00:24 +00:00
ynbot
70a6ace1e1
[Automated] Merged release main into develop 2024-01-12 13:59:56 +01:00
Ynbot
c506813c34 [Automated] Release 2024-01-12 12:59:28 +00:00
ynbot
5eb68a75a1
[Automated] Merged develop into main 2024-01-12 13:59:14 +01:00
Jakub Trllo
946b9318b6
add 'outputName' to thumbnail representation (#6114) 2024-01-12 13:51:08 +01:00
Jakub Trllo
f88ab85cc1
SceneInventory: Fix site sync icon conversion (#6123)
* use 'get_qt_icon' to convert icon definition

* check if site sync is enabled before getting sites info

* convert containers to list

* Fix wrong method name

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2024-01-12 13:50:34 +01:00
Jakub Trllo
1eb7e59b93
Kitsu clear credentials are safe (#6116) 2024-01-12 12:25:00 +01:00
Petr Kalis
046154037b
Site Sync: small fixes in Loader (#6119)
* Fix usage of correct values

Returned item is dictionary of version_id: links, previous loop was looping through [[]].

* Fix usage of studio icon

local and studio have both same provider, local_drive. Both of them should be differentiate by icon though.

* Fix - pull only paths from icon_def

Icon_def is dictionary with `type` and `path` keys, not directly 'path'.
It must be massaged first.

* Revert back, fixed in different PR

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Fix looping

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2024-01-12 10:44:01 +01:00
Jakub Trllo
47cf95ed69
Chore: Template data for editorial publishing (#6120)
* start with anatomy data without anatomy updates

* added ability to fill template data for editorial instances too

* do not autofix editorial data in collect resources path

* fix childs access

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2024-01-12 10:13:20 +01:00
Jakub Trllo
629b49c182
Blender: Workfile instance update fix (#6048)
* make sure workfile instance has always available 'instance_node'

* create CONTAINERS node if does not exist yet
2024-01-11 16:15:45 +01:00
Kayla Man
2e5a7b790b
Merge pull request #6118 from ynput/bugfix/OP-6998_Nuke-camera-creating-instance-fails
Nuke: Create camera node with the latest camera node class in Nuke 14
2024-01-11 22:55:50 +08:00
Kayla Man
199ff9944b Jakub's comment - using nuke.NUKE_VERSION_MAJOR for version check instead 2024-01-11 22:50:29 +08:00
Kayla Man
ee8294824e hound shut 2024-01-11 21:19:21 +08:00
Kayla Man
9c0d97d751 Merge branch 'develop' into bugfix/OP-6998_Nuke-camera-creating-instance-fails 2024-01-11 21:18:21 +08:00
Kayla Man
b51f61796d hound shut 2024-01-11 21:17:22 +08:00
Kayla Man
dbf02e266f create camera node with Camera4 instead of Camera2 in Nuke 14.0 2024-01-11 21:10:13 +08:00
Jakub Trllo
adb7e19c23
Publisher: Window is not always on top (#6107)
* make publisher a window without always on top

* put publisher window to the top on process

* make sure screenshot window is active

* removed unnecessary variable
2024-01-11 13:21:41 +01:00
Jakub Trllo
4e704b1b07
AYON: OpenPype addon dependencies (#6113)
* click is required by openpype addon

* removed Qt.py from dependencies

* add six to openpype addon dependencies
2024-01-11 13:18:58 +01:00
Jakub Trllo
aba61718b2
fix issue with parenting of widgets (#6106) 2024-01-11 12:07:35 +01:00
Petr Kalis
399bb404c4
Fusion: automatic installation of PySide2 (#6111)
* OP-7450 - WIP of new hook to install PySide2

Currently not working yet as subprocess is invoking wrong `pip` which causes issue about missing `dataclasses`.

* OP-7450 - updates querying of PySide2 presence

Cannot use pip list as wrong pip from .venv is used and it was causing issue about missing dataclass (not in Python3.6).
This implementation is simpler and just tries to import PySide2.

* OP-7450 - typo

* OP-7450 - removed forgotten raise for debugging

* OP-7450 - double quotes

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-7450 - return if error

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-7450 - return False

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-7450 - added optionality for InstallPySideToFusion

New hook is controllable by Settings.

* OP-7450 - updated querying of Qt

This approach should be more generic, not tied to specific version of PySide2

* OP-7450 - fix unwanted change

* OP-7450 - added settings for legacy OP

* OP-7450 - use correct python executable name in Linux

Because it is not "expected" python in blender but installed python, I would expect the executable is python3 on linux/macos rather than python.

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-7450 - headless installation in Windows

It checks first that it would need admin privileges for installation, if not it installs headlessly. If yes, it will create separate dialog that will ask for admin privileges.

* OP-7450 - Hound

* Update openpype/hosts/fusion/hooks/pre_pyside_install.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2024-01-10 17:10:52 +01:00
Simone Barbieri
0690eef9e8
Merge branch 'develop' into bugfix/OP-7597-blender_fix-long-instance-names 2024-01-10 12:03:41 +00:00
Simone Barbieri
0a6edc648c Fix problem with AVALON_CONTAINER collection and workfile instance 2024-01-10 12:03:08 +00:00
Ondřej Samohel
b3d5223e9c
Merge pull request #5948 from ynput/enhancement/OP-7352_Houdini-Loader-for-rs-cache
Houdini: Add loader for redshift proxy family
2024-01-10 12:00:46 +01:00
Kayla Man
ccd7365fa8 Merge branch 'develop' into enhancement/OP-7352_Houdini-Loader-for-rs-cache 2024-01-10 17:16:01 +08:00
github-actions[bot]
4aec54f577 chore(): update bug report / version 2024-01-10 03:26:22 +00:00
ynbot
f9b5cdb643
[Automated] Merged main into develop 2024-01-10 04:25:53 +01:00
Ynbot
faf22c7c6d [Automated] Bump version 2024-01-10 03:25:43 +00:00
ynbot
84f7d38229
[Automated] Merged develop into main 2024-01-10 04:25:04 +01:00
Jakub Trllo
86cf80027c
Chore: Remove deprecated templates profiles (#6103)
* do not use 'IntegrateAssetNew' settings which are not available anymore

* don't use 'IntegrateHeroVersion' settings to get hero version template name

* remove 'template_name_profiles' from 'IntegrateHeroVersion'

* remove unused attribute
2024-01-09 11:16:28 +01:00
Ondřej Samohel
4fa4b78b32
Merge pull request #6108 from ynput/enhancement/OP-7661_houdini-split-render-job-redshift
Houdini: add split job export support for Redshift ROP
2024-01-09 10:41:50 +01:00
Ondřej Samohel
363dd5740d
Merge branch 'develop' into enhancement/OP-7661_houdini-split-render-job-redshift 2024-01-09 10:41:17 +01:00
Ondřej Samohel
d61f80fca8
Merge pull request #6109 from ynput/chore/fix-pydocstyle-config
🔧 fix and update pydocstyle configuration
2024-01-09 10:40:22 +01:00
Ondřej Samohel
05cbb8b019
🔧 fix and update pydocstyle configuration 2024-01-08 13:33:51 +01:00
Ondřej Samohel
0746a045a5
Merge pull request #6102 from ynput/enhancement/OP-6655_Maya-redshift-proxy-viewport-shader
Maya: Apply initial viewport shader for Redshift Proxy after loading
2024-01-08 13:04:47 +01:00
Ondřej Samohel
9d83785024
🐛 fix render archive enable flag settings 2024-01-08 12:41:22 +01:00
Ondřej Samohel
cf17ea8377
📝 add comment and warning about unspecified RS version 2024-01-08 12:09:06 +01:00
Petr Kalis
5f837d6f0b
AfterEffects: exposing Deadline pools fields in Publisher UI (#6079)
* OP-6421 - added render family to families filter

As published instances follow product type `render` now, fields wouldn't be shown for them.

* OP-6421 - updated documentation

* OP-6421 - added hosts filter

Limits this with higher precision.
2024-01-08 11:51:28 +01:00
Ondřej Samohel
5d787d3fc3
♻️ change how redshift version is passed 2024-01-08 11:17:12 +01:00
Ondřej Samohel
3e4b8a1522
🐶 fix hound 2024-01-08 11:16:33 +01:00
Ondřej Samohel
1e3fad27b0
♻️ some code style changes 2024-01-08 10:57:05 +01:00
Ondřej Samohel
c54eaa197e
Merge branch 'enhancement/OP-7661_houdini-split-render-job-redshift' of github.com:ynput/OpenPype into enhancement/OP-7661_houdini-split-render-job-redshift 2024-01-08 10:51:32 +01:00
MustafaJafar
938d9126a2 BigRoy's comment - stick to code style 2024-01-08 11:48:23 +02:00
Ondřej Samohel
57d0d6fc5a
Merge remote-tracking branch 'origin/develop' into enhancement/OP-7661_houdini-split-render-job-redshift 2024-01-08 10:46:39 +01:00