mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
using tvpaint's lib instead of CommunicationWrapper
This commit is contained in:
parent
ceac453ed4
commit
3277c8c2b9
3 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import avalon.io
|
||||
from avalon.tvpaint import pipeline, CommunicationWrapper
|
||||
from avalon.tvpaint import pipeline, lib
|
||||
|
||||
|
||||
class CreateBeauty(pipeline.TVPaintCreator):
|
||||
|
|
@ -15,7 +15,7 @@ class CreateBeauty(pipeline.TVPaintCreator):
|
|||
|
||||
def process(self):
|
||||
instances = pipeline.list_instances()
|
||||
layers_data = CommunicationWrapper.layers_data()
|
||||
layers_data = lib.layers_data()
|
||||
group_ids = set()
|
||||
for layer in layers_data:
|
||||
if layer["selected"]:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from avalon.tvpaint import pipeline, CommunicationWrapper
|
||||
from avalon.tvpaint import pipeline
|
||||
|
||||
|
||||
class CreateReview(pipeline.TVPaintCreator):
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from avalon import api
|
||||
from avalon.tvpaint import CommunicationWrapper
|
||||
from avalon.tvpaint import lib
|
||||
|
||||
|
||||
class ImportImage(api.Loader):
|
||||
|
|
@ -35,4 +35,4 @@ class ImportImage(api.Loader):
|
|||
self.fname.replace("\\", "/"),
|
||||
layer_name
|
||||
)
|
||||
return CommunicationWrapper.execute_george_through_file(george_script)
|
||||
return lib.execute_george_through_file(george_script)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue