Skip to content

Commit

Permalink
Merge pull request #191 from Weisl/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Weisl authored Aug 2, 2024
2 parents 0b4ca8f + 598fcb8 commit 3edb826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
4 changes: 1 addition & 3 deletions blender_manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ license = [
]

copyright = [
"2023 Matthias Patscheider",
"2024 Matthias Patscheider",
]

platforms = ["windows-x64", "macos-arm64", "linux-x64"]

[build]
paths_exclude_pattern = [
"__pycache__/",
Expand Down
15 changes: 1 addition & 14 deletions ui/renaming_panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def panel_func(self, context):
layout = self.layout

row = layout.row(align=True)
row.menu(OBJECT_MT_suffix_prefix_presets.__name__, text=OBJECT_MT_suffix_prefix_presets.bl_label)
row.menu('OBJECT_MT_suffix_prefix_presets', text=OBJECT_MT_suffix_prefix_presets.bl_label)
row.operator(AddPresetRenamingPresets.bl_idname, text="", icon='ADD')
row.operator(AddPresetRenamingPresets.bl_idname, text="", icon='REMOVE').remove_active = True

Expand Down Expand Up @@ -308,19 +308,6 @@ def invoke(self, context, event):
return wm.invoke_props_dialog(self)


class LITTLE_RENAMING_HELPERS(bpy.types.Operator):
"""Creates a renaming Panel"""
bl_label = "Renaming Helpers"
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
bl_category = "Rename"

def draw(self, context):
layout = self.layout
scene = context.scene
return {'FINISHED'}


class OBJECT_MT_suffix_prefix_presets(Menu):
bl_label = "Type Presets"
preset_subdir = "scene/display"
Expand Down

0 comments on commit 3edb826

Please sign in to comment.