Commit before rebuilding in OdenGraphQT
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user