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

@@ -3,9 +3,9 @@
namespace hex::dp {
u32 Link::s_idCounter = 1;
int Link::s_idCounter = 1;
Link::Link(u32 from, u32 to) : m_id(Link::s_idCounter++), m_from(from), m_to(to) { }
Link::Link(int from, int to) : m_id(Link::s_idCounter++), m_from(from), m_to(to) { }
}