MCPcopy Create free account
hub / github.com/BambooTracker/BambooTracker / clonePattern

Method clonePattern

BambooTracker/module/track.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96int Track::clonePattern(int num)
97{
98 int n = searchFirstUneditedUnusedPattern();
99 if (n == -1) return num;
100 else {
101 patterns_.at(static_cast<size_t>(n)) = patterns_.at(static_cast<size_t>(num)).clone(n);
102 return n;
103 }
104}
105
106std::vector<int> Track::getEditedPatternIndices() const
107{

Callers 2

redoMethod · 0.80
redoMethod · 0.80

Calls 2

atMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected