From 62acf3867437a89709fadeb8f4379e67a3d0c396 Mon Sep 17 00:00:00 2001 From: Eoin Mcloughlin Date: Tue, 15 Aug 2023 10:28:13 +0100 Subject: [PATCH] Make defaults consistent with schema --- pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp b/pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp index 240fb7faf8..2ddf6155f2 100644 --- a/pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp +++ b/pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp @@ -572,7 +572,7 @@ class _PointsDataSource : public HdVec3fArrayDataSource if (HdDoubleDataSourceHandle const s = _GetHeightSource()) { return s->GetTypedValue(shutterOffset); } - return 1.0; + return 2.0; } HdDoubleDataSourceHandle _GetRadiusSource() const { @@ -600,7 +600,7 @@ class _PointsDataSource : public HdVec3fArrayDataSource if (HdTokenDataSourceHandle const s = _GetAxisSource()) { return s->GetTypedValue(shutterOffset); } - return HdCylinderSchemaTokens->X; + return HdCylinderSchemaTokens->Z; } HdContainerDataSourceHandle _primDataSource; @@ -926,7 +926,7 @@ class _PointsDataSource : public HdVec3fArrayDataSource if (HdDoubleDataSourceHandle const s = _GetRadiusSource()) { return s->GetTypedValue(shutterOffset); } - return 1.0; + return 0.5; } HdTokenDataSourceHandle _GetAxisSource() const { @@ -940,7 +940,7 @@ class _PointsDataSource : public HdVec3fArrayDataSource if (HdTokenDataSourceHandle const s = _GetAxisSource()) { return s->GetTypedValue(shutterOffset); } - return HdCapsuleSchemaTokens->X; + return HdCapsuleSchemaTokens->Z; } HdContainerDataSourceHandle _primDataSource;