Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Persistence #12

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add Persistence #12

wants to merge 4 commits into from

Conversation

yuxuanzhuang
Copy link
Owner

As MNSession handles persistence within MolecularNodes, the idea is to reconnect objects that live in GGMolVis to the MN objects (currently only Molecules.

The other object that needs extra work is Materials; Instead of trying to link bpy.Material directly to the object, currently only material_name is stored as an attribute.

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

Attention: Patch coverage is 83.72093% with 7 lines in your changes missing coverage. Please review.

Project coverage is 72.70%. Comparing base (cb9fb64) to head (67e3a1d).

Additional details and impacted files

self.material_name = material_copied.name

@property
def material(self):
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking up from the node tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant