Alembic: fixed refcount issue when duplicating imported objects
authorSybren A. Stüvel <sybren@stuvel.eu>
Wed, 26 Apr 2017 13:12:51 +0000 (15:12 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 26 Apr 2017 13:19:37 +0000 (15:19 +0200)
commit20621d46d143c0cc74d79b344e3ad0d1b68b2ec4
treec28edb331a6e6337bbafcb797d9dd17a280da9ca
parentff1f1157065034e5e7212beb2b9be8173da80dff
Alembic: fixed refcount issue when duplicating imported objects

Duplicating an imported object didn't increment the cache reader's refcount,
whereas removing the duplicate did decrement it. This caused problems.
source/blender/alembic/ABC_alembic.h
source/blender/alembic/intern/abc_object.cc
source/blender/alembic/intern/alembic_capi.cc
source/blender/blenkernel/intern/constraint.c