Skip to content

Commit

Permalink
Merge pull request #403 from anatawa12/fix-incorrect-constant-value
Browse files Browse the repository at this point in the history
fix: GetConstantValue returns false if variable
  • Loading branch information
anatawa12 authored Sep 4, 2023
2 parents e63c2dc + d0cecf1 commit 1804f2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-PRERELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- Components/GameObjects can falsely detected as always disabled / inactive. `#403`

### Security

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- Components/GameObjects can falsely detected as always disabled / inactive. `#403`

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static IReadOnlyDictionary<string, AnimationProperty> GetModifiedProperti
if (constValue == currentValue) return currentValue;
return null;
case AnimationProperty.PropertyState.Variable:
return false;
return null;
case AnimationProperty.PropertyState.Invalid:
default:
throw new ArgumentOutOfRangeException();
Expand Down

0 comments on commit 1804f2f

Please sign in to comment.