From 8c7fdc4a1f49fdc1ad1f93a9d2745bf6e366b335 Mon Sep 17 00:00:00 2001 From: Jonah Friedman Date: Wed, 26 Sep 2018 10:17:46 -0400 Subject: [PATCH] changed main setup method name to setup_outputs() --- cryptomatte/cryptomatte.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptomatte/cryptomatte.h b/cryptomatte/cryptomatte.h index a0c43ce..d2ed569 100644 --- a/cryptomatte/cryptomatte.h +++ b/cryptomatte/cryptomatte.h @@ -909,7 +909,7 @@ struct CryptomatteData { user_cryptomattes = UserCryptomattes(uc_aov_array, uc_src_array); crypto_crit_sec_enter(); - setup_cryptomatte_nodes(); + setup_outputs(); crypto_crit_sec_leave(); } @@ -1104,7 +1104,7 @@ struct CryptomatteData { String to_string_safe(const char* c_str) const { return c_str ? c_str : ""; } }; - void setup_cryptomatte_nodes() { + void setup_outputs() { const AtArray* outputs = AiNodeGetArray(AiUniverseGetOptions(), "outputs"); const uint32_t prev_output_num = AiArrayGetNumElements(outputs); AtNode* noop_filter = option_exr_preview_channels ? nullptr : get_or_create_noop_filter();