Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_custom_props.h
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | private: | ||||
| /* Mapping from property name in Blender to property in Alembic. | /* Mapping from property name in Blender to property in Alembic. | ||||
| * Here Blender does the same as other software (Maya, Houdini), and writes | * Here Blender does the same as other software (Maya, Houdini), and writes | ||||
| * scalar properties as single-element arrays. */ | * scalar properties as single-element arrays. */ | ||||
| Map<std::string, Alembic::Abc::OArrayProperty> abc_properties_; | Map<std::string, Alembic::Abc::OArrayProperty> abc_properties_; | ||||
| public: | public: | ||||
| CustomPropertiesExporter(ABCAbstractWriter *owner); | CustomPropertiesExporter(ABCAbstractWriter *owner); | ||||
| virtual ~CustomPropertiesExporter(); | virtual ~CustomPropertiesExporter() = default; | ||||
| void write_all(const IDProperty *group); | void write_all(const IDProperty *group); | ||||
| private: | private: | ||||
| void write(const IDProperty *id_property); | void write(const IDProperty *id_property); | ||||
| void write_array(const IDProperty *id_property); | void write_array(const IDProperty *id_property); | ||||
| /* IDProperty arrays are used to store arrays-of-arrays or arrays-of-strings. */ | /* IDProperty arrays are used to store arrays-of-arrays or arrays-of-strings. */ | ||||
| Show All 24 Lines | |||||