changed operator
This commit is contained in:
1 parent
732a647572
commit
915c8c8225
2 files changed
+13
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user