diff --git a/node_wrappers/realtimenodes/controls/state_management_controls.py b/node_wrappers/realtimenodes/controls/state_management_controls.py index 85ba291..09c0d82 100644 --- a/node_wrappers/realtimenodes/controls/state_management_controls.py +++ b/node_wrappers/realtimenodes/controls/state_management_controls.py @@ -1,6 +1,6 @@ from ....src.realtimenodes.control_base import ControlNodeBase import copy -from ....src.utils.general_utils import AlwaysEqualProxy +from ....src.utils.general import AlwaysEqualProxy class StateResetNode(ControlNodeBase): """Node that resets all control node states when triggered""" diff --git a/node_wrappers/realtimenodes/logic/logic.py b/node_wrappers/realtimenodes/logic/logic.py index 7bcdc91..7fcb23e 100644 --- a/node_wrappers/realtimenodes/logic/logic.py +++ b/node_wrappers/realtimenodes/logic/logic.py @@ -1,5 +1,5 @@ -from ....src.utils.general_utils import AlwaysEqualProxy from ....src.realtimenodes.control_base import ControlNodeBase +from ....src.utils.general import AlwaysEqualProxy class LazyCondition(ControlNodeBase): DESCRIPTION = "Uses lazy evaluation to truly skip execution of unused paths. Maintains state of the last value to circumvent feedback loops." diff --git a/node_wrappers/realtimenodes/utils/utility_controls.py b/node_wrappers/realtimenodes/utils/utility_controls.py index e6a298e..92d08e5 100644 --- a/node_wrappers/realtimenodes/utils/utility_controls.py +++ b/node_wrappers/realtimenodes/utils/utility_controls.py @@ -5,7 +5,7 @@ import numpy as np import cv2 import torch import random -from ....src.utils.general_utils import AlwaysEqualProxy +from ....src.utils.general import AlwaysEqualProxy # # Add package root to Python path # <-- REMOVED # sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from ....src.realtimenodes.control_base import ControlNodeBase diff --git a/node_wrappers/utils/misc_nodes.py b/node_wrappers/utils/misc_nodes.py index 7ce8959..d7ffcde 100644 --- a/node_wrappers/utils/misc_nodes.py +++ b/node_wrappers/utils/misc_nodes.py @@ -9,7 +9,7 @@ from PIL import Image, ImageFont, ImageDraw, ImageOps import nodes import random from torchvision import transforms -from ...src.utils.general_utils import AlwaysEqualProxy +from ...src.utils.general import AlwaysEqualProxy MAX_RESOLUTION = nodes.MAX_RESOLUTION # Get the same max resolution as core nodes class DTypeConverter: