Commit: 64fa97631ba4a421e4d2469409973a9813110280 Author: Michael A. Kowalski Date: Thu Nov 5 15:33:57 2020 -0500 Branches: usd-importer-T81257 https://developer.blender.org/rB64fa97631ba4a421e4d2469409973a9813110280
Disallow USDPrimReader copy and assignment. =================================================================== M source/blender/io/usd/import/usd_reader_prim.h =================================================================== diff --git a/source/blender/io/usd/import/usd_reader_prim.h b/source/blender/io/usd/import/usd_reader_prim.h index e8dcd631487..6265fcdecdf 100644 --- a/source/blender/io/usd/import/usd_reader_prim.h +++ b/source/blender/io/usd/import/usd_reader_prim.h @@ -51,6 +51,10 @@ class USDPrimReader { virtual ~USDPrimReader(); + // Disallow assignment and copying. + USDPrimReader(const USDPrimReader&) = delete; + USDPrimReader& operator=(const USDPrimReader&) = delete; + const pxr::UsdPrim &prim() const; const std::string &prim_path() const _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs