From 833694da8e8ef2f02400428d4a71d566d4233440 Mon Sep 17 00:00:00 2001 From: Keli Li Date: Thu, 21 Dec 2023 11:17:48 -0500 Subject: [PATCH] rename the env var to avoid duplication --- lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp b/lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp index ae6a8331cc..b17f6180d8 100644 --- a/lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp +++ b/lib/mayaHydra/hydraExtensions/delegates/sceneDelegate.cpp @@ -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; }