changed operator

This commit is contained in:
WALKINGTHEDOG\wabe committed 2026-10-07 15:21:31 +02:00
1 parent 732a647572
commit 915c8c8225
2 files changed
+13 -8

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
"""Sidebar UI."""
import bpy
from . import ops
# Panel like kabaret ipc
@@ -26,7 +27,7 @@ class WTDToolsMenu(bpy.types.Menu):
def draw(self, context):
layout = self.layout
layout.operator("wtd_tools.build", text="Build")
layout.operator(ops.WTDGetOidForPath.bl_idname, text=ops.WTDGetOidForPath.bl_label)
def draw_item(self, context):
self.layout.menu(WTDToolsMenu.bl_idname)