Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Fixes
- USDScene :
- Fixed writing of shutter values from cameras without a `shutter` parameter. The `shutter:open` and `shutter:close` attributes are now omitted instead of being written with Cortex's default -0.5, 0.5 shutter values.
- Fixed reading of shutter values from cameras without `shutter:open` and `shutter:close` attributes. The `shutter` parameter is now omitted instead of being created with USD's default 0, 0 shutter values.
- CurvesPrimitiveEvaluator : Fixed error in `Result::vTangent()` function causing tangent to point in opposite direction for curves with `Linear` interpolation.

10.5.x.x (relative to 10.5.15.0)
========
Expand Down
4 changes: 2 additions & 2 deletions src/IECoreScene/CurvesPrimitiveEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ void CurvesPrimitiveEvaluator::Result::init( unsigned curveIndex, float v, const
{
m_coefficients[0] = 1.0f - m_segmentV;
m_coefficients[1] = m_segmentV;
m_derivativeCoefficients[0] = 1.0f;
m_derivativeCoefficients[1] = -1.0f;
m_derivativeCoefficients[0] = -1.0f;
m_derivativeCoefficients[1] = 1.0f;
m_vertexDataIndices[0] = m_varyingDataIndices[0] = o + i;
if( periodic )
{
Expand Down