Skip to content

Commit

Permalink
Fix inifinite recursing in Attribute::is_timesamples().
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed May 7, 2024
1 parent f60bfeb commit 8a84582
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/prim-types.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,11 @@ class Attribute {
}

bool is_timesamples() const {
if (!is_value()) {
if (has_default()) {
return false;
}

if (has_connections()) {
return false;
}

Expand Down

0 comments on commit 8a84582

Please sign in to comment.