Creating a base toolkit for functions independent from other toolkits

This commit is contained in:
Bruno
2021-04-25 20:09:22 +02:00
parent 129d5445c3
commit 055f5c4c4e
24 changed files with 159 additions and 118 deletions

View File

@@ -7,6 +7,7 @@
#include "Source.h"
#include "Decorations.h"
#include "Visitor.h"
#include "BaseToolkit.h"
#include "Log.h"
#include "MixingGroup.h"
@@ -16,7 +17,7 @@ MixingGroup::MixingGroup (SourceList sources) : parent_(nullptr), root_(nullptr)
center_pos_(glm::vec2(0.f, 0.f)), active_(true), update_action_(ACTION_NONE), updated_source_(nullptr)
{
// create unique id
id_ = GlmToolkit::uniqueId();
id_ = BaseToolkit::uniqueId();
// fill the vector of sources with the given list
for (auto it = sources.begin(); it != sources.end(); ++it){