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,7 +3,7 @@
namespace hex::dp {
u32 Attribute::s_idCounter = 1;
int Attribute::s_idCounter = 1;
Attribute::Attribute(IOType ioType, Type type, std::string unlocalizedName) : m_id(Attribute::s_idCounter++), m_ioType(ioType), m_type(type), m_unlocalizedName(std::move(unlocalizedName)) {
}