Segmentation Fault on UV Flatten + PolyBevel + Labs Export UV

   1694   1   0
User Avatar
Member
8 posts
Joined: 9月 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 - 2021年2月11日 17:39:41
User Avatar
Member
14 posts
Joined: 3月 2014
Offline
Thanks for posting a fix!
  • Quick Links