Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DeleteMetadata
#1
When using DeleteMetadata, it says it is obsolete. What is the best way to remove metadata from a control point?
Reply
#2
Hi,

DeleteMetadata works properly, you can use it for now.

DeleteMetadata, in its implementation, uses only public members. In other words, you can copy the method and past it into one of your classes, modify the copy to reference a spline instead of "this", and it will work.

The method was marked obsolete in an effort to make Curvy Spline's API smaller and easier to learn. The idea was to remove methods that use only public members, since they don't give API users access to any private data. The obsolete message should have explain that users should copy the method.

I will take the time to reassess the situation regarding MetaData's related obsolete members, and see if I keep them obsolete (to be deleted in version 9) or if I should remove the obsolete attribute. Will do this Friday or Monday.

Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
thanks for replying
Reply
#4
Hi again,
After further evaluation, I decided to remove the Obsolete attribute from the DeleteMetadata. This change will be part of the next update.
Thanks for bringing this issue to my attention.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Forum Jump: