mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
sonar import moved to process because in the time the file is imported, sonar is not available
This commit is contained in:
parent
ccbef04605
commit
b5fe082a59
1 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import bpy
|
||||
|
||||
import sonar.blender
|
||||
from avalon import api
|
||||
from avalon.blender import Creator, lib
|
||||
|
||||
|
|
@ -16,7 +15,7 @@ class CreateModel(Creator):
|
|||
icon = "cube"
|
||||
|
||||
def process(self):
|
||||
|
||||
import sonar.blender
|
||||
asset = self.data["asset"]
|
||||
subset = self.data["subset"]
|
||||
name = sonar.blender.plugin.model_name(asset, subset)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue