Skip to content

Commit

Permalink
fixed mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Oct 27, 2024
1 parent 5dd34d3 commit e14bf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xform.hh
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ struct Xformable {
/// @param[out] resetTransformStack Is xformOpOrder contains !resetTransformStack!?
///
nonstd::expected<value::matrix4d, std::string> GetLocalMatrix(double t = value::TimeCode::Default(), value::TimeSampleInterpolationType tinterp = value::TimeSampleInterpolationType::Linear, bool *resetTransformStack = nullptr) const {
if (_dirty || t != value::TimeCode::Default()) {
if (_dirty || !value::TimeCode(t).is_default()) {
value::matrix4d m;
std::string err;
if (EvaluateXformOps(t, tinterp, &m, resetTransformStack, &err)) {
if (t != value::TimeCode::Default()) {
if (value::TimeCode(t).is_default()) {
_matrix = m;
_dirty = false;
}
Expand Down

0 comments on commit e14bf4f

Please sign in to comment.