Seg fault when calling selectPositions()

   1618   1   0
User Avatar
Member
48 posts
Joined: 2月 2013
Offline
this simple shelf tool:

import toolutils
viewer = toolutils.sceneViewer()
pos = viewer.selectPositions(position_type=hou.positionType.ViewportXY)
print pos

this works the first 4 or so times but after that results in a seg fault. it's part of a shelf tool i'm writing to so that a user can click into the screen and get the prim they've clicked on. i've tested it in houdini 12.5 and houdini 13.0 and on two different pcs with the same result.

edit: its toolutils not toolsutils, sorry.
User Avatar
スタッフ
2494 posts
Joined: 9月 2007
Offline
Log a bug please, thanks.
Chris McSpurren
Senior Quality Assurance Specialist
SideFX
  • Quick Links