Commit graph

286 commits

Author SHA1 Message Date
Jakub Trllo
0845ba29dd
General: Project Anatomy on creators (#4962)
* added project anatomy to create context

* added project anatomy to create plugin
2023-05-15 14:08:35 +02:00
Jakub Trllo
0cdeda5396
remove UnknownDef attributes on pop from attributes value (#4776) 2023-04-05 11:06:43 +02:00
Jakub Trllo
d0f083ec19
Publisher: Explicit save (#4676)
* added save button class

* added save button to window

* workfiles is also part of context in CreateContext to be able check if context changed

* window cares about trigger of convertors

* use abstractproperty with property and abstractmethod decorators

* save changes happens using main window and can be blocked

* fix pyside compatibility

* use create context to get current context names

* Fix docstring label

* added shortcuts for save and reset

* change control string matching for macos

* added 'publish_has_started' property

* allow save only if publishing did not start yet

* rename 'get_selected_convertors' to 'get_selected_legacy_convertors' and added docstrings

* Added Saved changes

* disable instances toggle when publishing started

* Fix reset button tooltip

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

* Use QKeySequence to string for tooltips

* added example output

* use predefined method to emit card message

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-03-23 12:52:25 +01:00
Jakub Trllo
8f5e958e60 handle disabled creators in create context 2023-02-22 13:37:27 +01:00
Jakub Trllo
093ffee97a Merge branch 'develop' into feature/OP-4710_TVP-publishing-update 2023-02-20 10:29:27 +01:00
Jakub Trllo
8eef66c3df Fix creation of DiscoverResult for pyblish plugins 2023-02-16 12:29:43 +01:00
Jakub Trllo
56470c47e2 added Args to documentation 2023-02-16 09:55:32 +01:00
Jakub Trllo
b3a86bdbf5 store reports of discovered plugins 2023-02-16 09:54:18 +01:00
Jakub Trllo
86a9c77c1e reuse 'DiscoverResult' from plugin discover 2023-02-16 09:53:47 +01:00
Jakub Trllo
542405775a discover creators and convertors can pass other arguments to 'discover' function 2023-02-16 09:53:15 +01:00
Jakub Trllo
7397bdcac2 added host property to legacy convertor 2023-02-15 17:52:42 +01:00
Jakub Trllo
5187f41e80 Merge branch 'develop' into feature/OP-4710_TVP-publishing-update 2023-02-15 12:24:27 +01:00
Jakub Trllo
fb93780640 use family form creator 2023-02-15 12:08:45 +01:00
Jakub Trllo
df532268a2 add family to instance data 2023-02-15 12:00:15 +01:00
Jakub Trllo
5903dbce9e autofill precreate attributes if are not passed 2023-02-14 17:03:05 +01:00
Jakub Trllo
e7072008af added 'family_filter' argument to 'get_subset_name' 2023-02-10 17:33:35 +01:00
Jakub Trllo
6cbbd4b48c Merge branch 'develop' into feature/simplified_creator_api
# Conflicts:
#	openpype/pipeline/create/context.py
2023-02-09 13:08:13 +01:00
Jakub Trllo
0cb78a10e6 removed unused 'raw_create' method 2023-02-09 13:00:49 +01:00
Jakub Trllo
cb84cf769e 'create' method is not triggering 'raw_create' 2023-02-09 13:00:28 +01:00
Jakub Trllo
fac10d2633 added public method 'create_with_unified_error' used in publisher 2023-02-09 12:58:51 +01:00
Jakub Trllo
b148dec048 Added helper method to return unified information on create error 2023-02-09 12:58:17 +01:00
Jakub Trllo
ffc3b8581a
Merge pull request #4433 from ynput/feature/creator_sorting
Publisher: Creators sorting
2023-02-08 18:06:44 +01:00
iLLiCiTiT
cba888e66e small docstring/comments enhancements 2023-02-07 20:02:36 +01:00
Jakub Trllo
b51a2a7257 added more docstrings 2023-02-07 19:24:30 +01:00
Jakub Trllo
c7f051db20 added 'show_order' attribute to 'Creator' so show order can be different than processing 2023-02-07 19:08:42 +01:00
Jakub Trllo
c5be741566 handle instances without available creator 2023-02-07 19:08:07 +01:00
Jakub Trllo
3316417173 process creators in their order 2023-02-07 19:07:50 +01:00
Jakub Trllo
101bbef42d added helper method to remove instance 2023-02-07 19:07:16 +01:00
Jakub Trllo
fd31d7815a added helper methods to get sorted creators 2023-02-07 19:05:46 +01:00
Jakub Trllo
22e4b9862b added 'order' attribute to creators which is used to process them in specific order 2023-02-07 19:05:27 +01:00
Jakub Trllo
a9e139998c modified code example to also contain tests 2023-02-02 15:00:56 +01:00
Jakub Trllo
0dbb63df94 modified change item a little 2023-02-02 11:54:55 +01:00
Jakub Trllo
dbda359b9d Merge branch 'develop' into feature/better_instance_changes
# Conflicts:
#	openpype/pipeline/create/context.py
2023-02-02 10:36:20 +01:00
Jakub Trllo
6fb280b6c8
Merge pull request #4392 from ynput/bugfix/instance_attr_defs_fix
General: Attribute definitions fixes
2023-02-01 15:56:10 +01:00
Jakub Trllo
4d990e6f87 Updated docstrings 2023-01-30 11:03:51 +01:00
Jakub Trllo
daa961d249 variant is required argument 2023-01-30 10:49:27 +01:00
Jakub Trllo
75bffb4dae removed unnecessary family from instance data 2023-01-30 10:49:17 +01:00
Jakub Trllo
40712089d9 Validate creator and asset doc 2023-01-30 10:48:57 +01:00
Roy Nieterau
68959d426e Fix typo 2023-01-30 10:24:17 +01:00
iLLiCiTiT
498c8564f7 swapped argments order in docstring 2023-01-28 00:40:08 +01:00
iLLiCiTiT
430fe6aed4 renamed 'create'->'raw_create' and 'create_with_context'->'create' 2023-01-28 00:33:33 +01:00
iLLiCiTiT
d09b781261 implemented helper function 'create_with_context' to trigger standartized creation 2023-01-28 00:32:53 +01:00
iLLiCiTiT
8678f4e2fa 'create' returns output from creator 2023-01-28 00:31:27 +01:00
iLLiCiTiT
0a900f8ae1 use 'name' attribute of host implementation if is available 2023-01-28 00:30:59 +01:00
iLLiCiTiT
d1b41ebac0 AvalonMongoDB is not needed for CreateContext or Controller 2023-01-28 00:30:24 +01:00
iLLiCiTiT
6246bac774 renamed 'reset_avalon_context' to 'reset_current_context' 2023-01-28 00:29:21 +01:00
Jakub Trllo
5d9e7cf52d fix formatting 2023-01-27 17:21:28 +01:00
Jakub Trllo
3aaf349b69 modified few docstrings 2023-01-27 16:44:05 +01:00
Jakub Trllo
951e8a5055 don't pass creator_items to 'deserialize_on_remote' 2023-01-27 16:42:22 +01:00
Jakub Trllo
4ec904e2bf don't pass removed 'new' attribute 2023-01-27 16:37:40 +01:00