From bb8c8fa1922aca8c44dfa3410ce72c1566f63454 Mon Sep 17 00:00:00 2001 From: lilike-adsk <134404162+lilike-adsk@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:18:57 -0500 Subject: [PATCH] rename the env var to avoid duplication (#32) --- 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; }