Changed some code showed in LGTM and Coverage

This commit is contained in:
qarmin 2019-07-20 08:09:57 +02:00
parent 584ca0f156
commit 6cbaf7662f
55 changed files with 94 additions and 202 deletions

View file

@ -980,9 +980,6 @@ void CPUParticles2D::_notification(int p_what) {
_set_redraw(false);
}
if (p_what == NOTIFICATION_PAUSED || p_what == NOTIFICATION_UNPAUSED) {
}
if (p_what == NOTIFICATION_DRAW) {
if (!redraw)
return; // don't add to render list