diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-08 10:28:31 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-08 10:28:31 +0300 |
commit | 89757f918cfa9e087f1a55f7c94688a1f623b612 (patch) | |
tree | 0b89e4c69f4bcaff5a230f807f54bfc3e8c11cf3 /source/blender/blenkernel/intern/cryptomatte_test.cc | |
parent | a1bc7729f20b8a8250f938d768ab2d104c41af54 (diff) |
Revert "Fix T86026: Crash Opening Cryptomatte File."
This reverts commit 7f3649874070de38131263317d02906d50279f93.
Diffstat (limited to 'source/blender/blenkernel/intern/cryptomatte_test.cc')
-rw-r--r-- | source/blender/blenkernel/intern/cryptomatte_test.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenkernel/intern/cryptomatte_test.cc b/source/blender/blenkernel/intern/cryptomatte_test.cc index 22abd1a4d56..13e29cecf0a 100644 --- a/source/blender/blenkernel/intern/cryptomatte_test.cc +++ b/source/blender/blenkernel/intern/cryptomatte_test.cc @@ -21,8 +21,6 @@ #include "BKE_cryptomatte.hh" #include "BKE_image.h" -#include "DNA_node_types.h" - #include "RE_pipeline.h" #include "MEM_guardedalloc.h" @@ -176,15 +174,4 @@ TEST(cryptomatte, session_from_stamp_data) BKE_cryptomatte_free(session); } -TEST(cryptomatte, T86026) -{ - NodeCryptomatte storage = {{0.0f}}; - CryptomatteEntry entry = {nullptr}; - BLI_addtail(&storage.entries, &entry); - entry.encoded_hash = 4.76190593e-07; - char *matte_id = BKE_cryptomatte_entries_to_matte_id(&storage); - EXPECT_STREQ("<4.761905927e-07>", matte_id); - MEM_freeN(matte_id); -} - } // namespace blender::bke::cryptomatte::tests |