Use new import source of Extractor

This commit is contained in:
Jakub Trllo 2022-09-01 12:53:25 +02:00
parent a515e58196
commit a04188fd7e
4 changed files with 8 additions and 11 deletions

View file

@ -6,10 +6,10 @@ import unreal
from unreal import EditorAssetLibrary as eal
from unreal import EditorLevelLibrary as ell
import openpype.api
from openpype.pipeline import publish
class ExtractCamera(openpype.api.Extractor):
class ExtractCamera(publish.Extractor):
"""Extract a camera."""
label = "Extract Camera"

View file

@ -3,18 +3,15 @@ import os
import json
import math
from bson.objectid import ObjectId
import unreal
from unreal import EditorLevelLibrary as ell
from unreal import EditorAssetLibrary as eal
from openpype.client import get_representation_by_name
import openpype.api
from openpype.pipeline import legacy_io
from openpype.pipeline import legacy_io, publish
class ExtractLayout(openpype.api.Extractor):
class ExtractLayout(publish.Extractor):
"""Extract a layout."""
label = "Extract Layout"

View file

@ -5,10 +5,10 @@ import os
import unreal
from unreal import MaterialEditingLibrary as mat_lib
import openpype.api
from openpype.pipeline import publish
class ExtractLook(openpype.api.Extractor):
class ExtractLook(publish.Extractor):
"""Extract look."""
label = "Extract Look"

View file

@ -2,10 +2,10 @@ from pathlib import Path
import unreal
import openpype.api
from openpype.pipeline import publish
class ExtractRender(openpype.api.Extractor):
class ExtractRender(publish.Extractor):
"""Extract render."""
label = "Extract Render"