Hi All,
I’ve been noticing a little glitch in sceneEditor.py that triggers a type
conversion error.
… /SceneEditor /seSelection.py", Line 457, in collideWithWidget
mask.setWord(0x80000000)
File “BitMask32”, line 254, in setWord
OverflowError: long Int too large to convert to int
Found this while I was patching up my copy of 1.0.3 that I built with
ppremake and it still occurs in 1.0.5 built with makepanda. I was hoping
that the new build would fix it.
If anyone else is getting this, I think you’ll see the same thing in
DirectSession.py.
Maybe this is a Python 2.4 - GCC thing. But I noticed a guy had to change
BitMask32 stuff on Visual C back in May to stop warnings. Thats in topic…
discourse.panda3d.org/viewtopic.php?t=427
As a temporary workaround, I simply changed the bitmask to (0x023C49F0)
to give it an arbitrary smaller number to work with and this fixes the
crash.
Any Ideas?
Thanks,
Robert
BTW: 0x023C49F0 is “my age” * “my shoe size” * “my postal zip code” in hex.