usdImportData is converting floats to ints

   940   2   0
User Avatar
Member
4 posts
Joined: March 2014
Offline
Hi,

Maybe I am doing something wrong, but when I import either a single float or double array usd attribute from lops using usdImportData, all my floats are rounded down to ints.

ex. 3.67 comes in as 3.

I can see them in the usd with decimal places. When I write them to a cvs spreadsheet, it confirms the issue. Image attached.


Any thoughts?

Cheers,
Yancy

Attachments:
usd.png (115.1 KB)

User Avatar
Member
318 posts
Joined: Jan. 2013
Offline
Hmm, that looks like a bug. Might be worth sending an RFE report.
User Avatar
Member
318 posts
Joined: Jan. 2013
Offline
This has been fixed in daily build 20.0.675.
  • Quick Links