Alembic import: prevent crash when cancelling import.
authorSybren A. Stüvel <sybren@stuvel.eu>
Fri, 7 Apr 2017 14:03:16 +0000 (16:03 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Fri, 7 Apr 2017 14:03:29 +0000 (16:03 +0200)
commit43a910abce50963d12c0ccde596347459d921b9a
tree9d4d2ddcd87c7c34b88caee325766d5a5803e76f
parent3748ca432d2d91b9e1d90774726a0fcf07d288bf
Alembic import: prevent crash when cancelling import.

It's possible that cancellation occured between the creation of the reader
and the creation of the Blender object, in which case reader->object()
returns a NULL pointer.
source/blender/alembic/intern/alembic_capi.cc