forked from qt-creator/qt-creator
Integrate Edit3D view into Creator
Edit3D view is now a tab alongside Form Editor. Buttons were moved to a Creator side task bar on Edit 3D view. Change-Id: Ia06107e4f855ba512ffea3e628a61558894e800e Fixes: QDS-1570 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -627,16 +627,18 @@ QList<QQuickItem *> ServerNodeInstance::allItemsRecursive() const
|
||||
|
||||
QString ServerNodeInstance::id() const
|
||||
{
|
||||
return m_nodeInstance->id();
|
||||
if (isValid())
|
||||
return m_nodeInstance->id();
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
qint32 ServerNodeInstance::instanceId() const
|
||||
{
|
||||
if (isValid()) {
|
||||
if (isValid())
|
||||
return m_nodeInstance->instanceId();
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
QList<ServerNodeInstance> ServerNodeInstance::stateInstances() const
|
||||
|
||||
Reference in New Issue
Block a user