Skip to content

Commit

Permalink
rename the env var to avoid duplication (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilike-adsk authored Dec 21, 2023
1 parent e529fff commit bb8c8fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ namespace {
// Pixar macros require Pixar namespace.
PXR_NAMESPACE_USING_DIRECTIVE

TF_DEFINE_ENV_SETTING(MAYA_HYDRA_USE_MESH_ADAPTER, false,
TF_DEFINE_ENV_SETTING(MAYA_HYDRA_USE_MESH_ADAPTER_WITH_SCENE_DELEGATE, false,
"Use mesh adapter instead of MRenderItem for Maya meshes.");

bool useMeshAdapter() {
static bool uma = TfGetEnvSetting(MAYA_HYDRA_USE_MESH_ADAPTER);
static bool uma = TfGetEnvSetting(MAYA_HYDRA_USE_MESH_ADAPTER_WITH_SCENE_DELEGATE);
return uma;
}

Expand Down

0 comments on commit bb8c8fa

Please sign in to comment.