Pyside and wrapInstance

Hello all, we ran into an issue with our pyside implmentation on large scenes. So when we got maya 2012-2013 we had to build our own pyside version and in doing this we needed to modify shiboken to include a wrapInstance method as mentioned at https://groups.google.com/forum/?fromgroups#!topic/pyside/Vx8L1hwZVQE

If you are doing this, use “size_t” instead of unsigned long if you’re running x64. On big scenes that take up >4gb of memory, pyside will overflow and you’ll be SOL. I’m really hoping the bundled version in 2014 fixed this or addressed it. If not, you can just rebuild shiboken and drop it in as a replacement.

Anyhow, just thought i’d post this in case anyone else hit this little problem.

This was not fixed/adressed in 2014 unfortunately. So if you run into this issue, you’ll need to rebuild pyside with the changes listed above and make sure your pyside gets loaded instead of maya’s :frowning: