Skip to content

Commit

Permalink
refactor: Remove bv28
Browse files Browse the repository at this point in the history
`bv28` was deprecated back in MCprep 3.5. Although it was kept for a
little bit longer then most deprecated functions, we should be good to
go with removing this function as we no longer use it.

Signed-off-by: Mahid Sheikh <mahid@standingpad.org>
  • Loading branch information
StandingPadAnimations committed Jun 25, 2024
1 parent 23d4fa4 commit 1fec0da
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions MCprep_addon/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,16 +239,6 @@ def min_bv(version: Tuple, *, inclusive: bool = True) -> bool:
return bpy.app.version >= version


def bv28() -> bool:
"""
Check if blender 2.8, for layouts, UI, and properties.
Deprecated in MCprep 3.5, but kept to avoid breakage for now...
"""
env.deprecation_warning()
return min_bv((2, 80))


def bv30() -> bool:
"""Check if we're dealing with Blender 3.0"""
return min_bv((3, 00))
Expand Down

0 comments on commit 1fec0da

Please sign in to comment.