Fix T49369: Blender crashes/closes down application at alembic export of
authorKévin Dietrich <kevin.dietrich@mailoo.org>
Fri, 16 Sep 2016 07:27:44 +0000 (09:27 +0200)
committerKévin Dietrich <kevin.dietrich@mailoo.org>
Fri, 16 Sep 2016 07:27:44 +0000 (09:27 +0200)
commit04bfea0d6747b48cf8e792586cd6df8df0f00dcc
treef4426f36cbc17bfe92e2c74b37969604eb3b6e1e
parente156abe467bc0e69ffcf1c298ac1d984762ebc8e
Fix T49369: Blender crashes/closes down application at alembic export of
any object

There were a couple of crashes caused by stupid typos in
rB631af9f930d2fd2c76751204ff22239aa95f761d and
rB78ea06fea4a74181c25254ed72d50d8a743b6954, as well as a shamefull lack
of 'testing before committing' which only affect exporting.

One crash was due to using RNA_boolean_get instead of RNA_enum_get, the
other one was a tricky case of order of deletion happening in the
destructors of AbcExporter and ArchiveWriter.

Should not affect RC or release.
source/blender/alembic/intern/abc_archive.cc
source/blender/alembic/intern/abc_archive.h
source/blender/alembic/intern/abc_exporter.cc
source/blender/alembic/intern/abc_exporter.h
source/blender/editors/io/io_alembic.c