fix: Data processor nodes not remembering their positions correctly

This commit is contained in:
WerWolv
2022-10-06 09:14:46 +02:00
parent 5ace199dc4
commit e0c35e0002
8 changed files with 60 additions and 38 deletions

View File

@@ -7,7 +7,7 @@
namespace hex::dp {
u32 Node::s_idCounter = 1;
int Node::s_idCounter = 1;
Node::Node(std::string unlocalizedTitle, std::vector<Attribute> attributes) : m_id(Node::s_idCounter++), m_unlocalizedTitle(std::move(unlocalizedTitle)), m_attributes(std::move(attributes)) {
for (auto &attr : this->m_attributes)