Blender Git Loki

Git Commits -> Revision 4073679

Revision 4073679 by Ankit Meel (soc-2020-io-performance)
June 13, 2020, 10:52 (GMT)
Export mutiple objects; remove unused fstream.

Adds support for multiple objects to be exported from a frame.
Also checks for them to be OB_MESH types. More object types need to be
supported yet.

Renamed data_to_export to more fitting, object_to_export of which we
use vector to contain all exportable objects.

Remove unused fstream based file writer since fprintf is consistently
faster.

Also reduce function calls of fprintf since lengthy arguments were
already removed.

Commit Details:

Full Hash: 40736795ec4efe3e0f6652d91b8d5faeb196ba03
Parent Commit: 387d962
Lines Changed: +107, -124

4 Modified Paths:

/source/blender/io/wavefront_obj/intern/wavefront_obj.hh (+4, -4) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter.cc (+72, -42) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.cc (+27, -70) (Diff)
/source/blender/io/wavefront_obj/intern/wavefront_obj_file_handler.hh (+4, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021