diff options
-rw-r--r-- | source/blender/blenkernel/BKE_asset_representation.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_asset_representation.hh b/source/blender/blenkernel/BKE_asset_representation.hh index d2e167b3f35..2acf30fbc88 100644 --- a/source/blender/blenkernel/BKE_asset_representation.hh +++ b/source/blender/blenkernel/BKE_asset_representation.hh @@ -22,10 +22,10 @@ namespace blender::bke { */ class AssetRepresentation { /** Null if the asset represents a local ID, in which case the ID owns the metadata. */ - std::unique_ptr<AssetMetaData> metadata_; + std::unique_ptr<AssetMetaData> metadata_ = nullptr; /** If the asset representation was constructed from a local ID, this points to the editable * asset metadata of the ID. */ - AssetMetaData *local_id_metadata_; /* Non-owning. */ + AssetMetaData *local_id_metadata_ = nullptr; /* Non-owning. */ public: explicit AssetRepresentation(std::unique_ptr<AssetMetaData> metadata); |