Skip to content

Commit 4213335

Browse files
committed
fix unrelated missing-redraw bug
1 parent 3f52c5e commit 4213335

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/polyscope/quantity.ipp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ QuantityS<S>* QuantityS<S>::setEnabled(bool newEnabled) {
4343
}
4444
}
4545

46-
if (isEnabled()) {
47-
requestRedraw();
48-
}
46+
requestRedraw();
4947

5048
return this;
5149
}

0 commit comments

Comments
 (0)