diff --git a/pxr/usd/usd/crateFile.cpp b/pxr/usd/usd/crateFile.cpp index 70b3996ada..cf856ad8ed 100644 --- a/pxr/usd/usd/crateFile.cpp +++ b/pxr/usd/usd/crateFile.cpp @@ -117,7 +117,7 @@ TF_REGISTRY_FUNCTION(TfType) { TfType::Define(); } -#define DEFAULT_NEW_VERSION "0.8.0" +#define DEFAULT_NEW_VERSION "0.9.0" TF_DEFINE_ENV_SETTING( USD_WRITE_NEW_USDC_FILES_AS_VERSION, DEFAULT_NEW_VERSION, "When writing new Usd Crate files, write them as this version. " diff --git a/pxr/usd/usd/testenv/testUsdCratePayloadConversionFromVersion07.py b/pxr/usd/usd/testenv/testUsdCratePayloadConversionFromVersion07.py index 3accc0ea7f..02ac9dcc5f 100644 --- a/pxr/usd/usd/testenv/testUsdCratePayloadConversionFromVersion07.py +++ b/pxr/usd/usd/testenv/testUsdCratePayloadConversionFromVersion07.py @@ -104,9 +104,9 @@ def test_ExportPayloadCrate(self): self._VerifyLayerPrims(usdaLayer) # Export the this layer to a usdc file and verify that it is exported - # using the 0.8.0 crate file version as new files start at 0.8.0. + # using the 0.9.0 crate file version as new files start at 0.9.0. self.assertTrue(usdaLayer.Export(singlePayloadCrateFilename)) - self._VerifyCrateVersion08(singlePayloadCrateFilename) + self._VerifyCrateVersion09(singlePayloadCrateFilename) # Open the crate layer and verify that it has the same prims and # payloads. @@ -120,11 +120,11 @@ def test_ExportPayloadCrate(self): Sdf.Payload('PayloadNew1.usda', Sdf.Path('/Parent')), Sdf.Payload('PayloadNew2.usda', Sdf.Path('/Parent'))] - # Export layer to a new crate file and verify that it uses the 0.8.0 + # Export layer to a new crate file and verify that it uses the 0.9.0 # crate version as this can not be represented in prior versions (and # also it's now the default version for new crate files). self.assertTrue(usdaLayer.Export(listPayloadCrateFilename)) - self._VerifyCrateVersion08(listPayloadCrateFilename) + self._VerifyCrateVersion09(listPayloadCrateFilename) # Similar to the generic _VerifyLayerPrims but instead verifies that # '/PayloadRefNone' has two payloads instead. @@ -178,10 +178,10 @@ def test_ExportPayloadCrateWithInternalPayload(self): usdaPayloadNoOpinion = usdaLayer.GetPrimAtPath('/PayloadNoOpinion') usdaPayloadNoOpinion.payloadList.explicitItems = [Sdf.Payload("","/PayloadRef1")] - # Export layer to a new crate file and verify that it uses the 0.8.0 + # Export layer to a new crate file and verify that it uses the 0.9.0 # crate version as this can not be represented in prior versions. self.assertTrue(usdaLayer.Export(internalPayloadCrateFilename)) - self._VerifyCrateVersion08(internalPayloadCrateFilename) + self._VerifyCrateVersion09(internalPayloadCrateFilename) # Similar to the generic _VerifyLayerPrims but instead verifies that # '/PayloadRefNoOpinion' has a single internal payload instead. @@ -233,10 +233,10 @@ def test_ExportPayloadCrateWithLayerOffset(self): usdaPayloadRef1.payloadList.explicitItems = [ Sdf.Payload('Payload.usda', Sdf.Path('/Parent'), Sdf.LayerOffset(12.0, 1.0))] - # Export layer to a new crate file and verify that it uses the 0.8.0 + # Export layer to a new crate file and verify that it uses the 0.9.0 # crate version as this can not be represented in prior versions. self.assertTrue(usdaLayer.Export(exportCrateFilename)) - self._VerifyCrateVersion08(exportCrateFilename) + self._VerifyCrateVersion09(exportCrateFilename) # Similar to the generic _VerifyLayerPrims but instead verifies that # '/PayloadRef1' has a layer offset.