Skip to content

Commit

Permalink
fix Animatable::get() evaluation.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed May 7, 2024
1 parent 27acf23 commit b5b1991
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/prim-types.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1405,9 +1405,16 @@ struct Animatable {
return true;
}
}

// timesamples
return _ts.get(v, t, tinerp);

if (has_timesamples()) {
return _ts.get(v, t, tinerp);
}

if (has_default()) {
return get_scalar(v);
}

return false;
}

///
Expand Down

0 comments on commit b5b1991

Please sign in to comment.