Skip to content

Commit

Permalink
remove about panel
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelBlend committed Dec 13, 2023
1 parent 7e8b43a commit 4539ed1
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions blender/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,46 +585,6 @@ def draw(self, context):
row.label(text='{}'.format(round(diff, 5)))


class MolecularAboutPanel(MolecularBasePanel):
bl_label = 'About'
bl_idname = "OBJECT_PT_molecular_about"
bl_parent_id = 'OBJECT_PT_molecular'

def draw(self, context):
layout = self.layout
scn = bpy.context.scene
obj = context.object
psys = obj.particle_systems.active
if psys is None:
return
layout.enabled = psys.settings.mol.active
# for the data
psys_eval = utils.get_object(context.object).particle_systems.active

box = layout.box()
row = box.row()
box.active = False
box.alert = False
row.alignment = 'CENTER'
row.label(text=names.THANKS)
row = box.row()
row.alignment = 'CENTER'
row.label(text=names.SUPPORT_WORK)
row = box.row()
row.alignment = 'CENTER'
row.operator(
"wm.url_open",
text="click here to Donate",
icon='URL'
).url = "www.pyroevil.com/donate/"
row = box.row()
row.alignment = 'CENTER'
row.label(text=names.VISIT)
row = box.row()
row.alignment = 'CENTER'
row.label(text=names.SITE)


class MolecularPanel(MolecularBasePanel):
"""Creates a Panel in the Object properties window"""
bl_label = "Molecular"
Expand Down Expand Up @@ -666,8 +626,7 @@ def draw(self, context):
MolecularNewLinksStiffnessPanel,
MolecularNewLinksDampingPanel,
MolecularNewLinksBrokenPanel,
MolecularToolsPanel,
MolecularAboutPanel
MolecularToolsPanel
)


Expand Down

0 comments on commit 4539ed1

Please sign in to comment.