diff options
Diffstat (limited to 'source/blender/io/usd/import/usd_reader_prim.cc')
-rw-r--r-- | source/blender/io/usd/import/usd_reader_prim.cc | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/source/blender/io/usd/import/usd_reader_prim.cc b/source/blender/io/usd/import/usd_reader_prim.cc index 587e2bf07a8..bfa1630fa11 100644 --- a/source/blender/io/usd/import/usd_reader_prim.cc +++ b/source/blender/io/usd/import/usd_reader_prim.cc @@ -27,8 +27,7 @@ USDPrimReader::USDPrimReader(const pxr::UsdPrim &prim, const USDImporterContext prim_path_(""), context_(context), min_time_(std::numeric_limits<double>::max()), - max_time_(std::numeric_limits<double>::min()), - refcount_(0) + max_time_(std::numeric_limits<double>::min()) { if (prim) { prim_path_ = prim.GetPath().GetString(); @@ -54,20 +53,4 @@ double USDPrimReader::max_time() const return max_time_; } -int USDPrimReader::refcount() const -{ - return refcount_; -} - -void USDPrimReader::incref() -{ - refcount_++; -} - -void USDPrimReader::decref() -{ - refcount_--; - BLI_assert(refcount_ >= 0); -} - } /* namespace blender::io::usd */ |