OP-2765 - added pulling resolution from scene

This commit is contained in:
Petr Kalis 2022-04-22 15:00:12 +02:00
parent 3bc4d98c98
commit ac1eeca906
4 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="8.0" ExtensionBundleId="com.openpype.AE.panel" ExtensionBundleVersion="1.0.22"
<ExtensionManifest Version="8.0" ExtensionBundleId="com.openpype.AE.panel" ExtensionBundleVersion="1.0.23"
ExtensionBundleName="openpype" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionList>
<Extension Id="com.openpype.AE.panel" Version="1.0" />

View file

@ -417,7 +417,9 @@ function getRenderInfo(){
var file_url = item.file.toString();
return JSON.stringify({
"file_name": file_url
"file_name": file_url,
"width": render_item.comp.width,
"height": render_item.comp.height
})
}

View file

@ -29,6 +29,8 @@ class AEItem(object):
frameRate = attr.ib(default=None)
file_name = attr.ib(default=None)
instance_id = attr.ib(default=None) # New Publisher
width = attr.ib(default=None)
height = attr.ib(default=None)
class AfterEffectsServerStub():
@ -609,7 +611,9 @@ class AfterEffectsServerStub():
d.get('workAreaDuration'),
d.get('frameRate'),
d.get('file_name'),
d.get("instance_id"))
d.get("instance_id"),
d.get("width"),
d.get("height"))
ret.append(item)
return ret