Skip to content

Commit

Permalink
Fix min/max accessor check
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Sep 2, 2024
1 parent 295bbf7 commit 5178b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/io_scene_gltf2/io/com/gltf2_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def from_bool(x):


def to_float(x):
assert isinstance(x, float)
assert isinstance(x, (int, float)) and not isinstance(x, bool)
return x


Expand Down

0 comments on commit 5178b5f

Please sign in to comment.