Merge branch 'master' into cache-update
This commit is contained in:
@@ -372,7 +372,7 @@ void NodeViewItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
if (element_ == -1) {
|
||||
node_name = node_->GetInputName(input_);
|
||||
} else {
|
||||
node_name = QString::number(element_);
|
||||
node_name = QString::number(element_ + node_->GetInputProperty(input_, QStringLiteral("arraystart")).toInt());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -580,7 +580,7 @@ QPointF NodeViewItem::GetInputPoint() const
|
||||
QPointF NodeViewItem::GetOutputPoint() const
|
||||
{
|
||||
QPointF p = output_connector_->scenePos();
|
||||
QRectF r = output_connector_->boundingRect();
|
||||
QRectF r = output_connector_->polygon().boundingRect();
|
||||
|
||||
switch (flow_dir_) {
|
||||
case NodeViewCommon::kLeftToRight:
|
||||
@@ -627,7 +627,7 @@ void NodeViewItem::UpdateNodePosition()
|
||||
|
||||
void NodeViewItem::UpdateInputConnectorPosition()
|
||||
{
|
||||
QRectF output_rect = input_connector_->boundingRect();
|
||||
QRectF output_rect = input_connector_->polygon().boundingRect();
|
||||
|
||||
NodeViewCommon::FlowDirection using_flow_dir = flow_dir_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user