MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / propagateData

Method propagateData

QtNodeEditor/src/Node.cpp:189–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188
189void
190Node::
191propagateData(std::shared_ptr<NodeData> nodeData,
192 PortIndex inPortIndex) const
193{
194 _nodeDataModel->setInData(std::move(nodeData), inPortIndex);
195
196 //Recalculate the nodes visuals. A data change can result in the node taking more space than before, so this forces a recalculate+repaint on the affected node
197 _nodeGraphicsObject->setGeometryChanged();
198 _nodeGeometry.recalculateSize();
199 _nodeGraphicsObject->update();
200 _nodeGraphicsObject->moveConnections();
201}
202
203
204void

Callers

nothing calls this directly

Calls 1

setInDataMethod · 0.80

Tested by

no test coverage detected