Skip to content

Commit

Permalink
changed main setup method name to setup_outputs()
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahf committed Sep 26, 2018
1 parent 1db17d9 commit 8c7fdc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptomatte/cryptomatte.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 8c7fdc4

Please sign in to comment.