Skip to content

Commit af41fb0

Browse files
gitamohrpixar-oss
authored andcommitted
usd: Do not emit crate file deprecation warnings by default, yet. We plan to
turn this on by default in the next release. (Internal change: 2403465)
1 parent b41181e commit af41fb0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pxr/usd/sdf/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,4 +756,6 @@ pxr_register_test(testSdfUsdcVersioning
756756
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testSdfUsdcVersioning"
757757
TESTENV testenv/testSdfUsdcVersioning
758758
EXPECTED_RETURN_CODE 0
759+
ENV
760+
PXR_USDC_EMIT_DEPRECATION_WARNINGS=1
759761
)

pxr/usd/sdf/crateFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ TF_DEFINE_ENV_SETTING(
146146
"implementations.");
147147

148148
TF_DEFINE_ENV_SETTING(
149-
PXR_USDC_EMIT_DEPRECATION_WARNINGS, true,
149+
PXR_USDC_EMIT_DEPRECATION_WARNINGS, false,
150150
"If set, emit warnings when reading binary USD files with deprecated "
151151
"versions prior to " OLDEST_CURRENT_VERSION ".");
152152

0 commit comments

Comments
 (0)