Skip to content

Commit 6688efa

Browse files
committed
Remove comment
1 parent 9a0edc6 commit 6688efa

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

auto_editor/make_layers.py

+1-19
Original file line numberDiff line numberDiff line change
@@ -296,22 +296,4 @@ def chunkify(arr: NDArray, smap: dict[int, float]) -> Chunks:
296296
else:
297297
v1_compatiable = None
298298

299-
tl = v3(inp, tb, sr, res, args.background, vtl, atl, v1_compatiable)
300-
301-
# Additional monotonic check, o(n^2) time complexity so disable by default.
302-
303-
# if len(sources) != 1:
304-
# return tl
305-
306-
# last_i = 0
307-
# for index in range(tl.end):
308-
# for layer in tl.v:
309-
# for lobj in layer:
310-
# if index >= lobj.start and index < (lobj.start + lobj.dur):
311-
# _i = round((lobj.offset + index - lobj.start) * lobj.speed)
312-
# if (_i < last_i):
313-
# print(_i, last_i)
314-
# raise ValueError("not monotonic")
315-
# last_i = _i
316-
317-
return tl
299+
return v3(inp, tb, sr, res, args.background, vtl, atl, v1_compatiable)

0 commit comments

Comments
 (0)