using tvpaint's lib instead of CommunicationWrapper

This commit is contained in:
iLLiCiTiT 2020-11-04 10:39:21 +01:00
parent ceac453ed4
commit 3277c8c2b9
3 changed files with 5 additions and 5 deletions

View file

@ -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"]:

View file

@ -1,4 +1,4 @@
from avalon.tvpaint import pipeline, CommunicationWrapper
from avalon.tvpaint import pipeline
class CreateReview(pipeline.TVPaintCreator):

View file

@ -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)