Skip to content

Commit

Permalink
fix type error (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanyiLi committed Jul 3, 2023
1 parent 44e1245 commit 2db10d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadrive/render_pipeline/config/panda3d-config.prc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ driver-generate-mipmaps #t

# Use immutable texture storage, it is *supposed* to be faster, but might not be
# XXX: Seems to produce an GL_INVALID_VALUE when disabled
gl-immutable-texture-storage #t
gl-immutable-texture-storage #f

# Default window settings
# depth-bits 0
Expand Down
2 changes: 1 addition & 1 deletion metadrive/scenario/scenario_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def map_height_diff(map_features, target=10):
min = z_min
if max - min > target:
break
return max - min
return float(max - min)


def _recursive_check_type(obj, allow_types, depth=0):
Expand Down

0 comments on commit 2db10d3

Please sign in to comment.