Skip to content

Commit

Permalink
renamed "create_AOV_array" to "setup_new_outputs"
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahf committed Sep 26, 2018
1 parent f855fda commit d782b00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cryptomatte/cryptomatte.h
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ struct CryptomatteData {
}

if (crypto_aovs && check_driver(driver)) {
create_AOV_array(t_output, crypto_aovs, outputs_new);
setup_new_outputs(t_output, crypto_aovs, outputs_new);

if (AiNodeGetBool(driver, "half_precision")) {
AiNodeSetBool(driver, "half_precision", false);
Expand Down Expand Up @@ -1113,7 +1113,7 @@ struct CryptomatteData {
build_user_metadata(tmp_uc_drivers);
}

void create_AOV_array(TokenizedOutput& t_output, AtArray* crypto_aovs,
void setup_new_outputs(TokenizedOutput& t_output, AtArray* crypto_aovs,
std::vector<TokenizedOutput>& new_outputs) const {
// Populates crypto_aovs and new_outputs
AtNode* orig_filter = AiNodeLookUpByName(t_output.filter_tok.c_str());
Expand Down Expand Up @@ -1211,6 +1211,7 @@ struct CryptomatteData {
AiNodeSetLocalData(manifest_driver, this);
return manifest_driver;
}

///////////////////////////////////////////////
// Manifests and metadata
///////////////////////////////////////////////
Expand Down

0 comments on commit d782b00

Please sign in to comment.