diff --git a/nodes/animation.py b/nodes/animation.py index 194282e..24db501 100644 --- a/nodes/animation.py +++ b/nodes/animation.py @@ -1,7 +1,7 @@ from ..log import log -class AnimationBuilder: +class MTB_AnimationBuilder: """Simple maths for animation.""" @classmethod @@ -41,4 +41,4 @@ class AnimationBuilder: return (frame, scaled, raw_loop, (frame == (total_frames - 1))) -__nodes__ = [AnimationBuilder] +__nodes__ = [MTB_AnimationBuilder] diff --git a/nodes/graph_utils.py b/nodes/graph_utils.py index c6caea8..03f0049 100644 --- a/nodes/graph_utils.py +++ b/nodes/graph_utils.py @@ -76,6 +76,14 @@ class MTB_ToDevice: # class MTB_ApplyTextTemplate: class MTB_ApplyTextTemplate: + """ + Experimental node to interpolate strings from inputs. + + Interpolation just requires {}, for instance: + + Some string {var_1} and {var_2} + """ + @classmethod def INPUT_TYPES(cls): return {