Jump to content

How to properly implement data persistence when copying or cloning a node?


Recommended Posts

Hey, everybody. Wrote a sop node functionality that loads geometry data from an external file. I have encountered several problems:
1. All data is lost when the focus is lost from the node - this moment was solved by caching the data and then restoring it.
2. Copying a node via ctrl-C/ctrl-V or via drag + alt - I haven't solved this problem yet.
Could you tell me how to realize this correctly? Unfortunately, I am still new to HDK and couldn't figure it out or find an example in the documentation.
I would be glad to have any help from the community!
Thank you all in advance!

Edited by Serzh IV
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...