You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the intended behavior when duplicating a HDA instance that utilizes a spline?
The issue I am looking at right now is that when duplicated the HDA spline component will revert to the default curve points of the HDA, vs being a copy of the current instances points.
In this specific case the cause appears to be coming from FHoudiniSplineTranslator::UpdateHoudiniCurve. It grabs the original curve points, and as long as these original curve points are greater than the number of current curve points, thus it erases the current instance points, and re-adds the default points. In our HDA example the default curve contains 8 points, but most instances only utilize 4 points.
So overall what is the expected behavior in this case of duplicating a HDA utilizing a spline?
The text was updated successfully, but these errors were encountered:
I'm assuming you're using editable curve nodes, and not curve inputs, as I couldn't reproduce that issue with curve inputs.
It is a bug, duplicating an HDA should keep the modified curve points and not reset them to their default values. We'll try to fix that for the next update.
What is the intended behavior when duplicating a HDA instance that utilizes a spline?
The issue I am looking at right now is that when duplicated the HDA spline component will revert to the default curve points of the HDA, vs being a copy of the current instances points.
In this specific case the cause appears to be coming from FHoudiniSplineTranslator::UpdateHoudiniCurve. It grabs the original curve points, and as long as these original curve points are greater than the number of current curve points, thus it erases the current instance points, and re-adds the default points. In our HDA example the default curve contains 8 points, but most instances only utilize 4 points.
So overall what is the expected behavior in this case of duplicating a HDA utilizing a spline?
The text was updated successfully, but these errors were encountered: