mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Hound fixes
This commit is contained in:
parent
2a4b421914
commit
51f090f495
2 changed files with 3 additions and 8 deletions
|
|
@ -1,15 +1,12 @@
|
|||
"""Load a model asset in Blender."""
|
||||
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from pprint import pformat
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
import os
|
||||
import json
|
||||
import bpy
|
||||
|
||||
from avalon import api, blender
|
||||
from avalon import blender
|
||||
import openpype.hosts.blender.api.plugin as plugin
|
||||
|
||||
|
||||
|
|
@ -131,4 +128,3 @@ class BlendLookLoader(plugin.AssetLoader):
|
|||
nodes.append(container)
|
||||
self[:] = nodes
|
||||
return nodes
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import unreal
|
|||
from unreal import MaterialEditingLibrary as mat_lib
|
||||
|
||||
import openpype.api
|
||||
from avalon import io
|
||||
|
||||
|
||||
class ExtractLook(openpype.api.Extractor):
|
||||
|
|
@ -67,7 +66,7 @@ class ExtractLook(openpype.api.Extractor):
|
|||
json_element['tga_filename'] = tga_filename
|
||||
|
||||
transfers.append((
|
||||
f"{stagingdir}/{tga_filename}",
|
||||
f"{stagingdir}/{tga_filename}",
|
||||
f"{resources_dir}/{tga_filename}"))
|
||||
|
||||
fbx_filename = f"{instance.name}_{name}.fbx"
|
||||
|
|
@ -94,7 +93,7 @@ class ExtractLook(openpype.api.Extractor):
|
|||
json_element['fbx_filename'] = fbx_filename
|
||||
|
||||
transfers.append((
|
||||
f"{stagingdir}/{fbx_filename}",
|
||||
f"{stagingdir}/{fbx_filename}",
|
||||
f"{resources_dir}/{fbx_filename}"))
|
||||
|
||||
json_data.append(json_element)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue