Skip to content

Commit

Permalink
fixed registering and enabling extension
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Jun 16, 2024
1 parent 6a7eb60 commit 2ae11b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions molecularnodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
ui.CLASSES
+ ops_io
+ [
TrajectorySelectionItem,
MolecularNodesObjectProperties,
MN_PT_panel,
]
Expand All @@ -45,9 +46,6 @@ def register():
print(e)
pass

# bpy.types.Scene.trajectory_selection_list = bpy.props.CollectionProperty(
# type=TrajectorySelectionItem
# )
bpy.types.NODE_MT_add.append(MN_add_node_menu)
bpy.types.Object.mn = bpy.props.PointerProperty(type=MolecularNodesObjectProperties)
bpy.types.Object.mda = bpy.props.CollectionProperty(type=TrajectorySelectionItem)
Expand Down
2 changes: 0 additions & 2 deletions molecularnodes/io/md.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ def execute(self, context):
class TrajectorySelectionItem(bpy.types.PropertyGroup):
"""Group of properties for custom selections for MDAnalysis import."""

bl_idname = "testing"

name: bpy.props.StringProperty( # type: ignore
name="Name",
description="Becomes the attribute name when applied to the mesh",
Expand Down

0 comments on commit 2ae11b1

Please sign in to comment.