Skip to content

Commit

Permalink
Fixed issue where old operator was being referenced
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbasnett committed Aug 29, 2024
1 parent 068f5aa commit 61c7979
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bdk_addon/bsp/ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from bpy.types import Panel, Context

from ..helpers import should_show_bdk_developer_extras
from ..bsp.operators import BDK_OT_apply_level_texturing_to_brushes, BDK_OT_ensure_tool_operators, BDK_OT_bsp_build
from ..bsp.operators import BDK_OT_ensure_tool_operators, BDK_OT_bsp_build


def poll_is_active_object_bsp_brush(cls, context: Context):
Expand Down Expand Up @@ -121,7 +121,6 @@ def draw(self, context):
operators_header.label(text='Operators')

if operators_panel is not None:
operators_panel.operator(BDK_OT_apply_level_texturing_to_brushes.bl_idname, icon='TEXTURE')
operators_panel.operator(BDK_OT_bsp_build.bl_idname, icon='MOD_BUILD')

if should_show_bdk_developer_extras(context):
Expand Down

0 comments on commit 61c7979

Please sign in to comment.