Commit graph

59 commits

Author SHA1 Message Date
Jakub Trllo
3ba7939222 removed usage of system settings from after effects 2023-09-01 17:10:40 +02:00
Jakub Trllo
dd27f4e839
AYON: Apply unknown ayon settings first (#5435)
* apply unknown ayon settings first

* added "Main" to empty default variants

* use 'default_variants' in aftereffects creator
2023-08-11 16:23:27 +02:00
Petr Kalis
136af34a71
AfterEffects: set frame range and resolution (#4983)
* OP-5660 - adding menu buttons to Set frame range in AE

* OP-5660 - refactored location of scripts

set_settings should be in lib as it is used elsewhere, but launch_logic and lib created circular dependency.
Moved main to launch logic as it is actually handling launching.

* OP-5660 - added set_settings to creator

When instance gets created, set frame range and resolution from DB.

* OP-5660 - minor fix

* OP-5660 - updated extension zip

* OP-5660 - updated documentation

* OP-5660 - fixed missing exception

* OP-5660 - fixed argument

* OP-5560 - fix imports

* OP-5660 - updated extension

* OP-5660 - add js alert message for buttons

* OP-5660 - repacked extension

Without Anastasyi showed success, but extension wasn't loaded.

* OP-5660 - make log message nicer

* OP-5660 - added log if workfile not saved

* OP-5660 - provide defaults to limit None exception

* OP-5660 - updated error message
2023-05-22 10:45:20 +02:00
Petr Kalis
e7aa413038
AfterEffects: add review flag to each instance (#4884)
* OP-5657 - add artist control for review in AfterEffects

Artist can disable review to be created for particular publish.

* OP-5657 - add artist control for review in AfterEffects

Removed configuration for Deadline, should be controlled by what is on instance.

* OP-5657 - handle legacy instances

Legacy instances wont't have mark_for_review in creator_attributes. Set to true as by default we always want review.

* OP-5657 - remove explicit review for all AE

Now handled directly on instance

* OP-5657 - fix - cannot remove now

Without this 'review' wont be added to tags on representation. Eventually this should be refactored.
Control on whole instance, eg. disabling review, should be enough.

* OP-5657 - fix - correct host name used

* OP-5657 - fix - correct handling of review

On local renders review should be added only from families, not from older approach through Settings.

Farm instance cannot have review in families or extract_review would get triggered even locally.

* OP-5657 - refactor - changed label

* OP-5657 - Hound

* OP-5657 - added explicitly skipping review

Instance might have set 'review' to False, which should explicitly skip review (might come from Publisher where artist can disable/enable review on an instance).

* OP-5657 - updated setting of review variable

instance.data.review == False >> explicitly set to do not create review. Keep None to let logic decide.

* OP-5657 - fix adding review flag

* OP-5657 - updated test

Removed review for second instance.

* OP-5657 - refactor to context plugin

* OP-5657 - tie thumbnail to review for local render

Produce thumbnail only when review should be created to synchronize state with farm rendering.
Move creation of thumnbail out of this plugin to general plugin to limit duplication of logic.
2023-05-04 12:16:58 +02:00
Petr Kalis
b70c6e4bfd OP-4938 - fix obsolete access to instance change 2023-02-15 18:32:56 +01:00
Petr Kalis
0301309502 OP-4928 - removed legacy_io in workfile creator in AE
Legacy_io should be eradicated, replaced by abstracted methods
2023-02-15 12:33:35 +01:00
Petr Kalis
410ea87e18 OP-4928 - fix wrong usage of legacy_io
Import should be removed. Now it should be replaced from context.
2023-02-15 12:27:44 +01:00
Petr Kalis
59010eb9a6 OP-4653 - refactor - move most important method higher 2023-02-03 17:19:02 +01:00
Petr Kalis
31b137fa1d OP-4653 - Hound 2023-02-03 17:17:27 +01:00
Petr Kalis
993145e6f8 OP-4653 - fix wrong name 2023-02-03 17:16:55 +01:00
Petr Kalis
f2930ed156 OP-4653 - updated description in AE creator 2023-02-03 17:04:06 +01:00
Petr Kalis
53c1c842f5 OP-4653 - standardize use_composition_name
Follow more closely login in PS, eg. if {composition} placeholder not present in subset template and should be used, add capitalized.
Clean composition name
2023-02-03 17:02:33 +01:00
Petr Kalis
b0e433e520 OP-4362 - remove unnecessary call to super 2022-11-16 11:24:36 +01:00
Petr Kalis
9a503fce6a OP-4361 - fix wrong usage of regex 2022-11-15 16:49:40 +01:00
Petr Kalis
2e1004c618 OP-4361 - rename composition after update, delete 2022-11-15 16:03:45 +01:00
Petr Kalis
702edb0efe OP-4361 - rename composition after create
Previously it was renaming composition with subset name, this was missing in new creator.
Renamed items to more descriptive 'comps'.
2022-11-15 12:17:27 +01:00
Petr Kalis
6a18fa0fda OP-4361 - updated Creator to use composition name
There is new flag to allow use composition name
Updated subset template. Removed obsolete 'renderLocal', now it is only 'render' with a flag.
2022-11-15 12:11:26 +01:00
Petr Kalis
fbdb2336d8 OP-3909 - fix wrong host variable 2022-11-03 17:13:15 +01:00
Petr Kalis
de5decbcbb OP-3908 - revert back to AE specific cache method
Standard approach doesn't handle legacy instances, eg. instance without creator_identifier.
2022-11-03 13:20:24 +01:00
Petr Kalis
64f8e2fc9c OP-3909 - fix - use values, filtering is later 2022-11-03 12:49:49 +01:00
Petr Kalis
ab4ed37604 OP-3909 - fix - use family to filter instances
cached instances are dictionary where keys are creator identifier, eg family.
2022-11-03 12:15:22 +01:00
Petr Kalis
adb683bdfc OP-3909 - use caching function from creator
In between cache function was extracted into creator_plugins, use this to standardize betwen different hosts.
2022-11-03 10:46:20 +01:00
Petr Kalis
f78bd11977 OP-3909 - added caching of list_instances
list_instances could be expensive in larger workfiles, it makes sense to cache it for all creator, but only for collecting phase. (This is why creator.collection_shared_data is used.)
2022-11-03 10:26:53 +01:00
Petr Kalis
e44da54da8 OP-3909 - remove legacy creators 2022-11-02 19:01:51 +01:00
Petr Kalis
b52a2eef1f OP-3909 - remove initialization of AfterEffectsHost
Initialization might be expensive, use self.host instead.
2022-11-02 19:00:24 +01:00
Petr Kalis
64148737ff OP-3909 - fix usage of internal variable 2022-11-01 17:46:40 +01:00
Petr Kalis
dc9058bcb7 OP-3909 - refactor - added missed argument 2022-11-01 16:42:41 +01:00
Petr Kalis
53097c642f OP-3909 - refactor - introduced AfterEffectsHost
Use base class and implement abstract methods to standardize.
2022-11-01 16:41:54 +01:00
Petr Kalis
0e7c183c1d Added overwrite subset for different context in AE 2022-08-22 18:03:57 +02:00
Petr Kalis
be568a0e41 Added default variant for workfile creator for AE 2022-08-22 18:03:17 +02:00
Jakub Trllo
56764f638f modified after effects creator init to use new args order 2022-07-08 11:34:08 +02:00
Jakub Trllo
497e4c0cca use query functions in aftereffects 2022-06-20 18:31:29 +02:00
Jakub Trllo
b30db92921 fix line length 2022-04-25 18:20:42 +02:00
Jakub Trllo
5e4d618be4 fixed new imports of avalon 2022-04-25 18:19:20 +02:00
Petr Kalis
b46f1bc42d Merge branch 'develop' of github.com:pypeclub/OpenPype into feature/OP-2868_After-effects-creator-Subset-name-change-to-main-rather-than-default 2022-04-22 22:30:06 +02:00
Petr Kalis
730f79a316 OP-2765 - render creator can change context 2022-04-22 16:32:48 +02:00
Petr Kalis
2694d9d557 OP-2868 - added configuration for default variant value to Settings 2022-04-01 17:26:26 +02:00
Petr Kalis
c829cc19ac OP-2765 - changed default variant 2022-03-23 14:15:16 +01:00
Petr Kalis
7273fd44da OP-2765 - changed imports after refactor of attribute definitions 2022-03-23 14:14:35 +01:00
Petr Kalis
bdcd004a66 Merge remote-tracking branch 'origin/feature/OP-2765_AE-to-new-publisher' into feature/OP-2765_AE-to-new-publisher 2022-03-22 14:57:50 +01:00
Petr Kalis
b71554fe25 OP-2765 - fix for update of multiple instances 2022-03-22 14:56:29 +01:00
Petr Kalis
d344121574
Update openpype/hosts/aftereffects/plugins/create/create_render.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-03-16 15:00:33 +01:00
Petr Kalis
bfce93027c
Update openpype/hosts/aftereffects/plugins/create/create_render.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-03-16 15:00:17 +01:00
Petr Kalis
a15552f878 OP-2765 - fix imports for new creator 2022-03-10 15:10:42 +01:00
Petr Kalis
d4f50e2abd OP-2765 - fix imports for legacy farm creator 2022-03-10 15:10:18 +01:00
Petr Kalis
87d114a272 OP-2765 - added error message when creating same subset 2022-03-09 10:49:43 +01:00
Petr Kalis
9e3ea9139a OP-2765 - Hound 2022-03-08 13:58:20 +01:00
Petr Kalis
0e050d37e9 OP-2765 - fix legacy handling when creating 2022-03-08 13:30:24 +01:00
Petr Kalis
e24ef3a9eb OP-2765 - added workfile creator and modified collector
Workfile collector shouldn't create new isntance for NP, but should update version
2022-03-04 16:32:16 +01:00
Petr Kalis
3c11f46b11 OP-2765 - working version of new creator 2022-03-03 19:32:04 +01:00