Skip to content

Commit

Permalink
Merge pull request #130 from jepler/deadcode
Browse files Browse the repository at this point in the history
remove unused code added by mistake
  • Loading branch information
jepler authored Sep 24, 2024
2 parents 41ca4c9 + 8367ff6 commit 6ff0996
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cropgui_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ def nextPowerOf2(n):
# Otherwise it's the binary number with a 1 followed by bit_length zeros
return 1 << ceiln.bit_length()

def np2_alt(n):
ceiln = math.ceil(n)
if (ceiln and not(ceiln & (ceiln - 1))):
return ceiln
def get_cropspec(image, corners, rotation):
t, l, r, b = corners
w = r - l
Expand Down

0 comments on commit 6ff0996

Please sign in to comment.