bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape'
This commit is contained in:
parent
2b62cf9733
commit
52f614b598
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ void cleanCorners() {
|
|||
|
||||
if (nr_shapes == 1) {
|
||||
s_corners.clear();
|
||||
} else {
|
||||
}
|
||||
|
||||
if (nr_shapes > 0) {
|
||||
nr_shapes--; // refcounting
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue