Rename class causing unregistering error

This commit is contained in:
Andres
2023-03-16 04:16:08 +01:00
committed by Dion Moult
parent cb0e8b6bf2
commit d68356c3a7
3 changed files with 7 additions and 12 deletions
+3 -1
View File
@@ -23,6 +23,8 @@ import ifcsverchok.helper
from bpy.props import StringProperty, EnumProperty
from sverchok.node_tree import SverchCustomTreeNode
from sverchok.data_structure import updateNode
import logging
logger = logging.getLogger('sverchok.ifc')
def update_usecase(self, context):
@@ -98,8 +100,8 @@ class SvIfcApi(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.SvIfcCor
def register():
bpy.utils.register_class(SvIfcTooltip)
bpy.utils.register_class(SvIfcApi)
bpy.utils.register_class(SvIfcTooltip)
def unregister():
+2 -2
View File
@@ -26,8 +26,8 @@ from sverchok.data_structure import updateNode
import importlib
class SvIfcTooltip(bpy.types.Operator):
bl_idname = "node.sv_ifc_tooltip"
class SvIfcTooltipWIP(bpy.types.Operator):
bl_idname = "node.sv_ifc_tooltipWIP"
bl_label = "IFC Info"
tooltip: bpy.props.StringProperty()