3D_Audio numeric menu fix

This commit is contained in:
2026-09-12 20:08:05 -07:00
parent cf68067343
commit 0067459e9a
11 changed files with 22 additions and 22 deletions

View File

@ -6,14 +6,14 @@ class AudioHRTFPannerNode(LnxLogicTreeNode):
bl_idname = 'LNAudioHRTFPannerNode'
bl_label = 'HRTF Panner'
bl_description = 'Create 3D audio HRTF Panner'
lnx_category = '3D_Audio'
lnx_category = 'Audio_3D'
lnx_version = 1
def update_input(self, context):
while len(self.inputs) > 5:
self.inputs.remove(self.inputs[-1])
if self.property0 == 'Custom':
self.add_input('LnxStringSocket', 'File Name', default_value=0)
self.add_input('LnxStringSocket', 'File Name', default_value='')
property0: HaxeEnumProperty(
'property0',
@ -35,5 +35,5 @@ class AudioHRTFPannerNode(LnxLogicTreeNode):
layout.prop(self, 'property0')
def register():
add_category('3D_Audio', icon='SOUND')
add_category('Audio_3D', icon='SOUND')
AudioHRTFPannerNode.on_register()