Skip to content

Commit

Permalink
op binary updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Amorano committed Jun 2, 2024
1 parent 119451a commit bd4aa49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def run(self, **kw) -> Tuple[bool]:
for idx, (A, B, a_x, a_xy, a_xyz, a_xyzw,
b_x, b_xy, b_xyz, b_xyzw, op, typ, flip) in enumerate(params):

#logger.debug(f'val {A}, {B}, {a_x}, {b_x}')
# use everything as float for precision
typ = EnumConvertType[typ]
if typ in [EnumConvertType.VEC2, EnumConvertType.VEC2INT]:
Expand All @@ -309,10 +310,9 @@ def run(self, **kw) -> Tuple[bool]:
val_a = parse_value(A, EnumConvertType.VEC4, A if A is not None else a_xyzw)
val_b = parse_value(B, EnumConvertType.VEC4, B if B is not None else b_xyzw)
else:
# logger.debug('val', A, B)
val_a = parse_value(A, EnumConvertType.VEC4, A if A is not None else a_x)
val_b = parse_value(B, EnumConvertType.VEC4, B if B is not None else a_x)

val_b = parse_value(B, EnumConvertType.VEC4, B if B is not None else b_x)
#logger.debug(f'val {val_a}, {val_b}')
if flip:
val_a, val_b = val_b, val_a
size = max(1, int(typ.value / 10))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "jovimetrix"
description = "Compose like Substance Designer. Webcams, Media Streams (in/out), Tick animation, Color correction, Geometry manipulation, Pixel shader, Polygonal shape generator, Remap images gometry and color, Heavily inspired by WAS and MTB Node Suites."
version = "1.0.4"
version = "1.0.5"
license = "LICENSE"
dependencies = ["torch", "numpy", "matplotlib", "opencv-contrib-python", "ffmpeg-python", "librosa", "loguru", "moderngl", "mss", "requests", "Pillow", "pywin32==306; platform_system==\"Windows\"", "scikit-image", "blendmodes", "mido[ports-rtmidi]", "pyaudio", "daltonlens", "numba", "PyOpenGL", "PyOpenGL-accelerate", "SpoutGL; platform_system==\"Windows\"", "vnoise", "stereoscopy[auto_align]", "aenum<4,>=3.1.15"]

Expand Down

0 comments on commit bd4aa49

Please sign in to comment.