Commit before rebuilding in OdenGraphQT

This commit is contained in:
2025-02-12 21:06:59 -07:00
parent 6e311de24b
commit 2a95535e0a
36 changed files with 1645 additions and 179 deletions

View File

@ -18,7 +18,7 @@ Behavior:
from NodeGraphQt import BaseNode
class DataNode(BaseNode):
__identifier__ = 'io.github.nicole.data'
__identifier__ = 'bunny-lab.io.data_node'
NODE_NAME = 'Data Node'
def __init__(self):
@ -50,7 +50,6 @@ class DataNode(BaseNode):
"""
current_text = self.get_property('value')
self.value = current_text
self.set_name(f"Data Node")
def property_changed(self, property_name):
"""
@ -114,7 +113,6 @@ class DataNode(BaseNode):
Receives data from connected nodes and updates the internal value.
"""
self.set_property('value', str(data)) # Ensure it's always stored as a string
self.set_name(f"Data Node")
# Transmit data further if there's an output connection
output_port = self.output(0)