data: Updated color schemes to new node type names

This commit is contained in:
Eberhard Graether
2017-02-10 01:07:11 +01:00
parent ab7fdac2f8
commit 9a67835882
4 changed files with 25 additions and 21 deletions
+4 -4
View File
@@ -232,9 +232,9 @@
<normal>#FFFFFF</normal>
</icon>
</type>
<builtin_type>
<built_in_type>
<like>type</like>
</builtin_type>
</built_in_type>
<class>
<like>type</like>
</class>
@@ -294,9 +294,9 @@
<like>global_variable</like>
</enum_constant>
<undefined>
<non-indexed>
<like>type</like>
</undefined>
</non-indexed>
<namespace>
<fill>
<normal>#873E3E</normal>
+4 -4
View File
@@ -224,9 +224,9 @@
<focus>#3C3C3C</focus>
</border>
</type>
<builtin_type>
<built_in_type>
<like>type</like>
</builtin_type>
</built_in_type>
<class>
<like>type</like>
</class>
@@ -280,9 +280,9 @@
<like>global_variable</like>
</enum_constant>
<undefined>
<non_indexed>
<like>type</like>
</undefined>
</non_indexed>
<namespace>
<fill>
<normal>#EFC5C5</normal>
+4 -4
View File
@@ -227,9 +227,9 @@
<focus>#C3C3C3</focus>
</border>
</type>
<builtin_type>
<built_in_type>
<like>type</like>
</builtin_type>
</built_in_type>
<class>
<like>type</like>
</class>
@@ -283,9 +283,9 @@
<like>global_variable</like>>
</enum_constant>
<undefined>
<non-indexed>
<like>type</like>
</undefined>
</non-indexed>
<namespace>
<fill>
<normal>#78282D</normal>
+13 -9
View File
@@ -835,19 +835,23 @@ std::shared_ptr<Graph> PersistentStorage::getGraphForActiveTokenIds(const std::v
{
nodeIds.push_back(node.id);
}
for (const StorageFile& file : m_sqliteStorage.getAllByIds<StorageFile>(ids))
{
nodeIds.push_back(file.id);
}
if (nodeIds.size() != ids.size())
if (!isNamespace)
{
std::vector<StorageEdge> edges = m_sqliteStorage.getAllByIds<StorageEdge>(ids);
for (const StorageEdge& edge : edges)
for (const StorageFile& file : m_sqliteStorage.getAllByIds<StorageFile>(ids))
{
if (edge.id > 0)
nodeIds.push_back(file.id);
}
if (nodeIds.size() != ids.size())
{
std::vector<StorageEdge> edges = m_sqliteStorage.getAllByIds<StorageEdge>(ids);
for (const StorageEdge& edge : edges)
{
edgeIds.push_back(edge.id);
if (edge.id > 0)
{
edgeIds.push_back(edge.id);
}
}
}
}