diff --git a/molecularnodes/__init__.py b/molecularnodes/__init__.py index 2d74e82b..2fe07d2c 100644 --- a/molecularnodes/__init__.py +++ b/molecularnodes/__init__.py @@ -27,6 +27,7 @@ ui.CLASSES + ops_io + [ + TrajectorySelectionItem, MolecularNodesObjectProperties, MN_PT_panel, ] @@ -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) diff --git a/molecularnodes/io/md.py b/molecularnodes/io/md.py index 70f88b7a..f276f60e 100644 --- a/molecularnodes/io/md.py +++ b/molecularnodes/io/md.py @@ -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",