Skip to content

Commit 22c8be5

Browse files
authored
Merge pull request #167 from Visual-Behavior/dev
fix depth absolute/inverse assertion
2 parents 9796c9d + cb41e28 commit 22c8be5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aloscene/depth.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def __new__(
4141
*args,
4242
names=("C", "H", "W"),
4343
**kwargs):
44-
if not is_absolute and (shift or scale):
45-
raise AttributeError('depth not in inverse state, can not pass scale or shift')
44+
4645
if isinstance(x, str):
4746
x = load_depth(x)
4847
names = ("C", "H", "W")

0 commit comments

Comments
 (0)