Commit graph

86 commits

Author SHA1 Message Date
Jakub Trllo
594f1014ce General: Qt scale enhancement (#5059)
* set 'QT_SCALE_FACTOR_ROUNDING_POLICY' to 'PassThrough'

* implemented 'get_openpype_qt_app' which set all openpype related attributes

* implemented get app functions in igniter and ayon common

* removed env varaibles 'QT_SCALE_FACTOR_ROUNDING_POLICY'

* formatting fixes

* fix line length

* fix args
2023-07-11 18:13:50 +02:00
Petr Kalis
83242487fd
AfterEffects: support for workfile template builder (#5163)
* OP-5661 - added new menu item to AE extension

* OP-5661 - added support for addPlaceholder into extension

* OP-5661 - fix broken abstract loader

In some cases discover couldn't recognize that base plugin is abstract. Handled properly

* OP-5661 - WIP of implementing workfile template builder

* OP-5661 - added route to add placeholder

* OP-5661 - added route to build workfile

* OP-5661 - refactored arguments

* OP-5661 - implemented build workfile operation

moved from wrong position

* OP-5661 - removed wrong base plugin

* OP-5661 - implemented update placeholder logic

* OP-5661 - fix update placeholder metadata

* OP-5661 - added Creator placeholder plugin

* OP-5661 - pre_create_data could be passed into Creator

This allow to modify `pre_create_data` before automatically creating an instance. (Useful for overridding defaults.)

* OP-5661 - implemented populate of Create placeholder

* OP-5661 - implemented import of template

* OP-5661 - fix to populate correct create placeholder

Implemented function to select item(s) by their id. (CreateRender expects selected composition.)

* OP-5661 - fix workfile builder schema to multiplatform path

Path should be separated by platform.

* OP-5661 - implemented adding loaded items instead of placeholders

* OP-5661 - add Create Placeholder plugin to dropdown

* OP-5661 - add templated workfile to Settings

* OP-5661 - fix to choose template file from multiplatform

* OP-5661 - added documentation
2023-06-27 10:58:55 +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
60efa939a8
OP-5714 - allow returning stub with not saved workfile (#4984)
Without it is not possible to create first workile.
2023-05-18 10:59:13 +02:00
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Jakub Trllo
d3753fef31 Merge branch 'develop' into release/3.15.x
# Conflicts:
#	openpype/hosts/aftereffects/api/pipeline.py
#	openpype/hosts/photoshop/api/pipeline.py
#	openpype/hosts/photoshop/plugins/create/create_legacy_image.py
#	openpype/modules/deadline/plugins/publish/submit_publish_job.py
2022-12-16 12:09:01 +01:00
Jakub Trllo
a3db8a0539 use qtpy in hosts which have use openpype process 2022-12-13 17:47:52 +01:00
Petr Kalis
7959bfb958
Merge branch 'release/3.15.x' into feature/OP-3426_Add-support-for-Deadline-for-automatic-tests 2022-12-02 15:35:00 +01:00
Petr Kalis
fb154ad4f1 OP-4361 - implemented multiple output modules per composition
Working version for local rendering.
2022-11-15 16:11:55 +01:00
Petr Kalis
9ba1028e61 OP-4361 - fixed issue in render info
Weird synchronization issue was happening in getRenderInfo when re-publishing published workfile. This implementation is ugly, but seems to work.
2022-11-11 12:53:22 +01:00
Petr Kalis
104fc1fd83 OP-4361 - removed forgotten debug method call 2022-11-10 17:49:35 +01:00
Petr Kalis
7ca8b4ddf4 OP-4361 - addd support for multiple composition in AE
There cannot be multiple Render items for same composition in Render Queue.
There cannot be multiple output modules for same Render item.
2022-11-10 17:36:58 +01:00
Petr Kalis
418135cde0 Merge remote-tracking branch 'origin/release/3.15.x' into feature/OP-3426_Add-support-for-Deadline-for-automatic-tests 2022-11-07 12:40:41 +01:00
Petr Kalis
66bea60bdd OP-3426 - refactor - replaced check of env var with function
It would be better to modify single function if necessary.
2022-11-07 11:40:15 +01:00
Petr Kalis
b396a8d76b OP-4371 - fix - wrong call of list_instances 2022-11-04 11:18:50 +01:00
Petr Kalis
5a8876e364 OP-3908 - removed get_context_title
Not necessary to override, same functionality as in HostBase.
2022-11-03 17:24:45 +01:00
Petr Kalis
6c9483c2ad OP-3909 - remove uninstall
Not needed, not used anywhere.
2022-11-03 17:14:12 +01:00
Petr Kalis
8502ea0139 OP-3908 - Hound 2022-11-03 17:12:42 +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
e9834d973d OP-3909 - fix - add internal variable 2022-11-03 12:47:01 +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
414afab0c0 OP-3909 - Hound 2022-11-02 19:11:34 +01:00
Petr Kalis
9c880d9b15 OP-3909 - added missed interface 2022-11-02 19:01:27 +01:00
Petr Kalis
0f39c4d0d7 OP-3909 - refactor - remove subsetmanager route
Replaced by Publisher
2022-11-01 16:48:56 +01:00
Petr Kalis
39b2945e09 OP-3909 - refactor - move get_asset_settings to lib
It makes more sense there than in pipeline.py
2022-11-01 16:44:28 +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
27aa43b4c8 OP-3908 - updated extension menu
Updated extension version number
2022-10-31 11:25:55 +01:00
Petr Kalis
23a265c3e4 OP-3908 - switch AfterEffects to New Publisher 2022-10-31 11:20:07 +01:00
Jakub Trllo
79e6de15b5 import Logger from 'openpype.lib' instead of 'openpype.api' 2022-09-28 14:49:52 +02:00
Jakub Trllo
35b389f4a2 Merge branch 'develop' into feature/OP-3817_Move-aftereffects-functions-to-aftereffects 2022-08-26 14:54:16 +02:00
Jakub Trllo
233d70bdd8 headless_publish is a method on webpublisher addon 2022-08-25 17:54:05 +02:00
Jakub Trllo
382ec674a8 copied 'get_unique_layer_name' and 'get_background_layers' into ae lib 2022-08-25 12:02:22 +02:00
Jakub Trllo
7e1ba966ce workio is not using HOST_WORKFILE_EXTENSIONS 2022-08-24 18:09:38 +02:00
Jakub Trllo
6e90984528 replace usage of 'any_outdated' with 'any_outdated_containers' 2022-07-15 17:07:22 +02:00
Jakub Trllo
b9a67fb801 pass asset document to 'get_asset_settings' 2022-06-20 18:43:14 +02:00
Jakub Trllo
25848817d9 removed redundant code from aftereffects and photoshop 2022-04-25 18:33:53 +02:00
Jakub Trllo
5e4d618be4 fixed new imports of avalon 2022-04-25 18:19:20 +02:00
Jakub Trllo
a579cd31c8 Merge branch 'develop' into enhancement/OP-2858_move-AvalonMongoDB-logic 2022-04-25 18:03:38 +02:00
Petr Kalis
ac1eeca906 OP-2765 - added pulling resolution from scene 2022-04-22 15:00:12 +02:00
Petr Kalis
16fa4a60d4 OP-2765 - merge develop 2022-04-22 10:34:04 +02:00
Jakub Trllo
3edce9456e replced avalon imports in aftereffects 2022-04-14 11:56:54 +02:00
Petr Kalis
d4484ff241 OP-2765 - merge develop 2022-04-13 12:43:59 +02:00
Jakub Trllo
a2a2d5e193 removed repeated logic of any_outdata from after effects 2022-04-06 15:41:30 +02:00
Jakub Trllo
cadd5d1e5d fix registered host in AE host 2022-04-06 15:02:42 +02:00
Jakub Trllo
729131738a changed installation of hosts 2022-04-01 19:40:23 +02:00
Jakub Trllo
cb33bb94f9
Merge pull request #2935 from pypeclub/enhancement/OP-2855_move-plugins-register-and-discover
General: Move plugins register and discover
2022-03-31 13:38:17 +02:00
Petr Kalis
4891f336ed Fix - handle better exception when no file opened in AE
Occured when no scene was opened and Workfile wanted to open existing workfile
2022-03-31 11:09:57 +02:00
Petr Kalis
881ec1579e OP-2765 - fix exception if no file opened
Should be refactored, merged 2 functions in code and extension.
2022-03-23 18:10:17 +01:00
Petr Kalis
8964fdb754 OP-2766 - clean up import 2022-03-23 17:11:25 +01:00