Commit graph

55 commits

Author SHA1 Message Date
Simone Barbieri
0a6edc648c Fix problem with AVALON_CONTAINER collection and workfile instance 2024-01-10 12:03:08 +00:00
Simone Barbieri
b012e169d4
Changed error message
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-12-21 15:23:59 +00:00
Simone Barbieri
73614e08a8 Add warning if name is too long for Blender 2023-12-18 16:14:10 +00:00
Simone Barbieri
57197cc37a Use only the final part of folderPath in the instance name 2023-12-18 15:16:10 +00:00
Jakub Trllo
e0790a1cb1 fix create logic in blender 2023-11-16 11:26:54 +01:00
Jakub Trllo
e8f7f146ab formatting fix 2023-11-16 11:02:29 +01:00
Jakub Trllo
e340b9c7bc rename function 'asset_name' to 'prepare_scene_name' 2023-11-16 10:57:09 +01:00
Roy Nieterau
dd54866fe0 Rename instance node if asset or subset changed to match with new name 2023-11-15 13:08:59 +01:00
Roy Nieterau
0556986a3e Remove redundant data 2023-11-14 16:40:29 +01:00
Roy Nieterau
f12b410671 Clean up some todos 2023-11-14 12:01:41 +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
3d10bfdf09 Cosmetics 2023-11-14 00:37:13 +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
b8255c6ee3 Simplify collecting instances (re-use logic) 2023-11-13 23:53:44 +01:00
Sharkitty
8d58b284fc Remove unused dependency, fix collect_render 2023-11-13 17:21:28 +01:00
Sharkitty
62fa330417 Add set_instance_data method to reduce redundancy 2023-11-13 11:58:47 +01:00
Sharkitty
01be65d283 Reduce redundancy in create action, animation, pointcache, render and review 2023-11-10 16:18:28 +01:00
Sharkitty
7cd98fe903 Remove deprecated code, use avalon instances in basecreator 2023-11-09 15:52:36 +01:00
Sharkitty
59bb86dc33 Rename BlenderCreator into BaseCreator 2023-11-02 11:42:39 +01:00
Simone Barbieri
58c9664f7e Use sets and don't check container children when getting unique number 2023-11-02 10:39:28 +00:00
Simone Barbieri
1c45fa139b Include collections asset group to get unique number 2023-10-31 10:48:05 +00:00
Sharkitty
4f658d2f51 update blender creator 2023-10-27 16:05:01 +02:00
Sharkitty
e832cf59cc Fix Cannot pickle object error 2023-10-24 14:07:48 +02:00
Sharkitty
371d7405ec Apply creator change to bl base creator 2023-10-24 14:07:48 +02:00
Sharkitty
f52c9f0a38 Enhance instance_node, wip remove_inst, rm extra empty lines 2023-10-24 14:07:45 +02:00
Sharkitty
656a42dd52 Handling instance noce 2023-10-24 14:06:37 +02:00
Sharkitty
aeebd78cc7 Collect instances functional 2023-10-24 14:06:37 +02:00
Sharkitty
7617d1e0ad Set shared data, edit loop in cached_subsets 2023-10-24 14:06:37 +02:00
Sharkitty
6eae2c264d Add dict to imprint, type hints in blenderhost, imprint in create 2023-10-24 14:06:37 +02:00
Sharkitty
cf66d12ef2 Fixes to base creator, creators compatibility 2023-10-24 14:04:29 +02:00
Sharkitty
d9960e84d4 Fixed errors during create 2023-10-24 14:04:29 +02:00
Sharkitty
efa294defc fixed wrong variable name 2023-10-24 14:04:29 +02:00
Sharkitty
d4c030e77d Add identifiers to blender creators. Fix wrong method name 2023-10-24 14:04:29 +02:00
Sharkitty
3c198694a9 blender creator cache subsets 2023-10-24 14:04:29 +02:00
Sharkitty
e06dfbb8e8 draft implementation for blender creator refactor 2023-10-24 14:04:29 +02:00
Sharkitty
507adfa936 Refactor: Blender new publisher 2023-10-24 14:04:25 +02:00
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
Simone Barbieri
46411c9723 Implemented review 2022-08-04 11:10:45 +01:00
Roy Nieterau
c608eeb262 Remove remaining imports from avalon 2022-05-02 21:35:09 +02:00
Jakub Trllo
c5ac2290f6 use moved functions in hosts and tools 2022-03-14 11:36:17 +01:00
Jakub Trllo
d4f177f7bc use moved create functions in hosts 2022-03-08 17:39:50 +01:00
Roy Nieterau
4fb92b6fca Default to "Main" subset name across all hosts
- 'testhost' is not refactored to default to "Main"
2022-02-02 10:25:33 +01:00
Simone Barbieri
4c21c0d425
Merge branch 'develop' into feature/unreal-load_layout 2022-01-27 17:17:03 +00:00
iLLiCiTiT
72170d550a moved blender implementation to openpype 2022-01-21 01:28:07 +01:00
Simone Barbieri
41220adfca Improved loading of blend layouts in Blender to behave like to JSON one 2021-11-12 15:42:10 +00:00
Simone Barbieri
36f4912241 Hound fixes 2021-10-21 11:51:12 +01:00
Simone Barbieri
80b0b590b8 Implemented deselect function to handle objects not in 'object mode' 2021-10-21 11:27:35 +01:00
Simone Barbieri
7789fb8299 Hound fixes 2021-08-10 12:06:52 +01:00
Simone Barbieri
78e10b9d1a Improved layout assets handling 2021-07-07 10:56:28 +01:00
Simone Barbieri
395b4fe3bd Hound fixes 2021-06-21 11:47:02 +01:00