Commit graph

321 commits

Author SHA1 Message Date
Libor Batek
5b54bb77ad
Merge branch 'develop' into enhancement/use_manual_thumbnail_when_publishing 2023-11-30 18:33:40 +01:00
Simone Barbieri
dc033d283e Changed the labels for layout json extractor 2023-11-30 16:21:11 +01:00
Simone Barbieri
4c932f3bdc Skip extract thumbnail in Blender if thumbnail has been added manually 2023-11-30 10:27:06 +01:00
Simone Barbieri
a35f9d935e Reverted family to render and fixed problems with family 2023-11-24 15:37:27 +00:00
Simone Barbieri
75519b0a95 Fix increment workfile for render.farm family 2023-11-24 12:19:59 +00:00
Simone Barbieri
cc82e645c6 Fixed compatibility with old instances 2023-11-24 10:54:30 +00:00
Simone Barbieri
ee7bf57595 Changed family for render 2023-11-23 16:25:22 +00:00
Jakub Trllo
6e8f142e52 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-16 11:23:58 +01:00
Jakub Trllo
e340b9c7bc rename function 'asset_name' to 'prepare_scene_name' 2023-11-16 10:57:09 +01:00
Jakub Trllo
6fece8f6ea fix workfile create plugin in blender 2023-11-15 18:29:59 +01:00
Jakub Trllo
40a1dbed3e Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/hosts/blender/plugins/publish/extract_abc.py
#	openpype/hosts/blender/plugins/publish/extract_abc_animation.py
#	openpype/hosts/blender/plugins/publish/extract_blend.py
#	openpype/hosts/blender/plugins/publish/extract_blend_animation.py
#	openpype/hosts/blender/plugins/publish/extract_camera_abc.py
#	openpype/hosts/blender/plugins/publish/extract_camera_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx_animation.py
#	openpype/hosts/blender/plugins/publish/extract_layout.py
2023-11-15 18:26:48 +01:00
Roy Nieterau
025c114de8 Fix repair 2023-11-15 16:40:46 +01:00
Roy Nieterau
480c37533b Fix extract animation
- `asset_group` is a Collection and can't be selected, and thus not exported from so we now take the 'root' node in that collection
2023-11-15 12:43:19 +01:00
Roy Nieterau
d148671d02 Fix finding ARMATURE objects in asset group Collection 2023-11-14 20:56:00 +01:00
Roy Nieterau
478afb7f48 Cosmetics; match code of other hosts more 2023-11-14 18:04:57 +01:00
Roy Nieterau
45699444ef Fix setting data - current_instance is not a dict 2023-11-14 18:03:08 +01:00
Roy Nieterau
d1c3eb83cf Remove todo 2023-11-14 17:17:35 +01:00
Roy Nieterau
b04ae30b82 Collect animation members 2023-11-14 17:13:46 +01:00
Roy Nieterau
1fbe1b3163 Refactor load layout to create new-style creator animation instances 2023-11-14 17:11:46 +01:00
Roy Nieterau
d077b7526f Add legacy instance conversion 2023-11-14 16:57:25 +01:00
Roy Nieterau
9d6352c68d Remove name attributes on Creator that are irrelevant to new-style creators 2023-11-14 16:43:04 +01:00
Roy Nieterau
f281da5784 Fix missing identifier 2023-11-14 16:01:30 +01:00
Roy Nieterau
00d5b90568 Remove unused import 2023-11-14 15:50:23 +01:00
Roy Nieterau
63ff830d12 Ignore collections in instance, only select objects 2023-11-14 15:50:07 +01:00
Roy Nieterau
fa5638d06b Fix parent class 2023-11-14 15:33:59 +01:00
Roy Nieterau
d1aaefab9c Improve comment grammar 2023-11-14 15:24:20 +01:00
Roy Nieterau
8d57f5f3ef Fix extract layout 2023-11-14 15:23:45 +01:00
Roy Nieterau
162394a56c Fix typo, missing comment *facepalm* 2023-11-14 15:17:55 +01:00
Roy Nieterau
53bcf0e17c Use instance node explicitly as the 'asset group' 2023-11-14 12:17:06 +01:00
Roy Nieterau
7acc5f9dd6 Collect camera instance members 2023-11-14 12:09:24 +01:00
Roy Nieterau
4d1c887ece Fix missing class inheritance 2023-11-14 12:07:08 +01:00
Roy Nieterau
8e6c533ee6 Remove redundant docstring - since create now isn't off-loaded to 'main thread' anymore 2023-11-14 12:03:16 +01:00
Roy Nieterau
a450eab0ce Remove "asset_group" functionality in CreateReview, since it's unused there 2023-11-14 12:02:46 +01:00
Roy Nieterau
9419fe5d51 Clarify what asset_group pre_create_data intends to do, because it is not an Attribute Definition on the Creator 2023-11-14 12:02:20 +01:00
Roy Nieterau
3f2bd4c001 Improve object name readability in reports 2023-11-14 11:56:08 +01:00
Roy Nieterau
b8f361f75d Refactor Validate Instance Empty + raise PublishValidationError 2023-11-14 11:55:14 +01:00
Roy Nieterau
19b7abb8ff Label cosmetics 2023-11-14 11:47:20 +01:00
Roy Nieterau
6b59b71823 Re-add collector to collect instance members 2023-11-14 11:42:12 +01:00
Roy Nieterau
28c83c3bb6
Remove duplicated code
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-11-14 11:09:34 +01:00
Roy Nieterau
a2a47787db Avoid need for executing in main thread by just not using bpy.ops functions.
I also skipped the "keep_transform" part of the functionality since it's redundant because the created asset group is always at origin by default, and thus needs no matrix inverse computations.
2023-11-14 09:12:09 +01:00
Roy Nieterau
6e89f33014 Clarify Workfile instance data persistence 2023-11-14 08:50:03 +01:00
Roy Nieterau
b16bc2a80e Remove debugging prints 2023-11-14 02:43:21 +01:00
Roy Nieterau
e67ecd4065 Hound 2023-11-14 02:34:44 +01:00
Roy Nieterau
bf49ffea16 Hound 2023-11-14 02:33:26 +01:00
Roy Nieterau
8575c4843c Fix storing instance and context data correctly, fix removing instances + refactor instance nodes 2023-11-14 02:25:42 +01:00
Roy Nieterau
6698166954 Refactor to correct name 2023-11-14 00:24:57 +01:00
Roy Nieterau
5b317b4109 Merge remote-tracking branch 'upstream/develop' into enhancement/blender_new_publisher
# Conflicts:
#	openpype/hosts/blender/api/plugin.py
#	openpype/hosts/blender/plugins/create/create_blendScene.py
#	openpype/hosts/blender/plugins/publish/collect_instances.py
#	openpype/hosts/blender/plugins/publish/extract_playblast.py
2023-11-14 00:07:05 +01:00
Roy Nieterau
1e7ef83b18 Validate workfile saved once; not per instance - refactored to ContextPlugin 2023-11-13 23:53:17 +01:00
Roy Nieterau
ae6c810ba5 Raise PublishValidationError from validators 2023-11-13 23:38:21 +01:00
Roy Nieterau
60486c2d9f Tweak logging levels for artist-facing reports + some log message cosmetics 2023-11-13 23:36:26 +01:00