Commit 2275344a authored by Alex Diev's avatar Alex Diev
Browse files

IVE: Miniview rendering fixes

parent a19d1df4
Pipeline #6484 passed with stage
in 12 minutes and 18 seconds
......@@ -138,7 +138,6 @@ void IVItemModel::onObjectAdded(shared::Id objectId)
return;
}
setupGeometry(object);
if (object->type() == ivm::IVObject::Type::InterfaceGroup) {
return;
}
......@@ -151,6 +150,7 @@ void IVItemModel::onObjectAdded(shared::Id objectId)
&& !isRootOrRootChild) {
return;
}
setupGeometry(object);
shared::ui::VEItemModel::onObjectAdded(objectId);
}
......
......@@ -158,7 +158,7 @@ void MiniViewRenderer::updateData()
if (!outerIfaceItem) {
continue;
}
QPointF innerIfacePos { -1, -1 };
QPointF innerIfacePos;
const QString innerIfacePosStr = token;
if (innerIface->hasEntityAttribute(innerIfacePosStr)) {
const QString ifaceStrCoordinates = innerIface->entityAttributeValue<QString>(innerIfacePosStr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment