This commit is contained in:
luboslenco
2020-08-21 10:56:49 +02:00
parent ac3458bb14
commit 3160090c9f
+2 -2
View File
@@ -553,12 +553,12 @@ class RenderPathPaint {
Context.ddirty--;
Context.rdirty--;
if (!paintEnabled())return;
if (!paintEnabled()) return;
Context.pdirty--;
}
public static function draw() {
if (!paintEnabled())return;
if (!paintEnabled()) return;
if (Config.raw.brush_live && Context.pdirty <= 0 && Context.ddirty > 0 && Context.brushTime == 0) {
// gbuffer has been updated now but brush will lag 1 frame