Blender Git Loki
Git Commits -> Revision 265df7b
Revision 265df7b by Michael Kowalski (universal-scene-description) October 26, 2021, 00:12 (GMT) |
USD IO: attribute conversion improvements. Initial implementation of logic to import USD attibutes as Blender custom properites, with options to import all custom attributes or only those attibutes in the 'userProperties' namespace. New export option to add custom properties to the 'userProperties' USD attribute namespace. This option is enabled by default. Removed hidden functionality where custom properties named with the prefix 'USD_' were being saved to properties on the USD prim that have the same name, without the prefix. This code was not type safe and could lead to unexpected behavior in case of accidental property name collisions. Added support for converting between USD int, float and double vectors and Blender array type custom properties. |
Commit Details:
Full Hash: 265df7b3a64a1191333c610871a8174aff2ac948
Parent Commit: f1828d3
Lines Changed: +457, -51
6 Modified Paths:
/source/blender/editors/io/io_usd.c (+54, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.cc (+246, -0) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.h (+5, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_xform.cc (+7, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+137, -45) (Diff)
/source/blender/io/usd/usd.h (+8, -0) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.cc (+246, -0) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.h (+5, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_xform.cc (+7, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+137, -45) (Diff)
/source/blender/io/usd/usd.h (+8, -0) (Diff)