Skip to content

Commit

Permalink
Make defaults consistent with schema
Browse files Browse the repository at this point in the history
  • Loading branch information
eoineoineoin committed Aug 15, 2023
1 parent 1370773 commit 62acf38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pxr/imaging/hdsi/implicitSurfaceSceneIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 62acf38

Please sign in to comment.