Skip to content
Snippets Groups Projects
Commit 83aaf7e1 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Clear heads for unmark operators in tag and match rules.

parent 7ada47ad
Branches
No related merge requests found
......@@ -33,6 +33,7 @@ void UnmarkMatch::execute(const ActionExecContext& context) const
for (int i = 0; i < channel.size(); ++i) {
if (channel.segments()[i] == segment_idx) {
channel.set_segment_at(i, 0);
channel.set_head_at(i, false);
}
}
}
......
......@@ -37,6 +37,7 @@ Bool Unmark::execute(const ActionExecContext& context) const
for (int i = 0; i < channel.size(); ++i) {
if (channel.segments()[i] == segment_idx) {
channel.set_segment_at(i, 0);
channel.set_head_at(i, false);
}
}
return Bool(true);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment