fix: io
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import bpy
|
||||
from .convert import ConvertToMesh
|
||||
from .io import ExportVDB, ImportImage
|
||||
from .io import ExportVDB, ImportVolumeData
|
||||
from .misc import SaveBioxels
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class ObjectMenu(bpy.types.Menu):
|
||||
def TOPBAR_FILE_IMPORT(self, context):
|
||||
layout = self.layout
|
||||
layout.separator()
|
||||
layout.operator(ImportImage.bl_idname)
|
||||
layout.operator(ImportVolumeData.bl_idname)
|
||||
|
||||
|
||||
def TOPBAR_FILE_EXPORT(self, context):
|
||||
@@ -33,13 +33,13 @@ def VIEW3D_OBJECT(self, context):
|
||||
layout.separator()
|
||||
|
||||
|
||||
def register():
|
||||
def add():
|
||||
bpy.types.TOPBAR_MT_file_import.append(TOPBAR_FILE_IMPORT)
|
||||
bpy.types.TOPBAR_MT_file_export.append(TOPBAR_FILE_EXPORT)
|
||||
bpy.types.VIEW3D_MT_object_context_menu.prepend(VIEW3D_OBJECT)
|
||||
|
||||
|
||||
def unregister():
|
||||
def remove():
|
||||
bpy.types.TOPBAR_MT_file_import.remove(TOPBAR_FILE_IMPORT)
|
||||
bpy.types.TOPBAR_MT_file_export.remove(TOPBAR_FILE_EXPORT)
|
||||
bpy.types.VIEW3D_MT_object_context_menu.remove(VIEW3D_OBJECT)
|
||||
|
||||
Reference in New Issue
Block a user