Segmentation Fault on UV Flatten + PolyBevel + Labs Export UV

   1458   1   0
User Avatar
Member
8 posts
Joined: Sept. 2019
Offline
Today had crashes "Segmentation Fault" using Labs Export UV Wireframe.

If I will do UVFlatten for specific parts of my object, then add PolyBevel, PolyBevel will modify uv attribute and that will contain -nan(ind) values and because of that, if later we will use Labs Export UV Wireframe it will make Houdini to crash with error Segmentation Fault. I found that exact place of crash happens on Poly Wire SOP.
Looks like Poly Wire SOP can't "eat" bad points with positions as NANs created during UV to Point transfer.

Solution in place:
Set that NAN uv vertices to zero vector with Attribute Wrangle (Run Over: Vertices):
if(isnan(@uv.x) || isnan(@uv.y) || isnan(@uv.z)) {v@uv = {0,0,0};}
Edited by kodbitz - Feb. 11, 2021 17:39:41
User Avatar
Member
14 posts
Joined: March 2014
Offline
Thanks for posting a fix!
  • Quick Links