12-20-2021, 04:29 PM
Hi
With Curvy Splines 8, multiple issues with the extended UV coordinates, set via the Meta CG Options script. All those issues are listed in the release notes.
One of these issues is:
[FIXED] When there is a change of Material ID at a specific CP, its "UV Edge" is overridden to true
For those relaying on that old behavior, you will have to set "UV Edge" to true for all the CPs with a change of Material ID.
Her is a code snippet that does that here:
With Curvy Splines 8, multiple issues with the extended UV coordinates, set via the Meta CG Options script. All those issues are listed in the release notes.
One of these issues is:
[FIXED] When there is a change of Material ID at a specific CP, its "UV Edge" is overridden to true
For those relaying on that old behavior, you will have to set "UV Edge" to true for all the CPs with a change of Material ID.
Her is a code snippet that does that here:
Code:
foreach (CurvySplineSegment cp in spline.ControlPointsList)
{
var metaCgOptions = cp.GetMetadata<MetaCGOptions>();
if (metaCgOptions)
{
if (metaCgOptions.HasDifferentMaterial)
metaCgOptions.UVEdge = true;
}
}
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Available for freelance work—feel free to reach out.