perf(canvas): avoid duplicate scene picture draw on record

This commit is contained in:
Danila Poyarkov 2026-05-17 02:50:01 +03:00
parent f5bcf92ce4
commit 05b3a870c2

View file

@ -182,7 +182,6 @@ export function render(
r._culledCount = 0
p.beginPhase('render:recordPicture')
recordScenePicture(r, canvas, graph, sceneVersion)
if (r.scenePicture) canvas.drawPicture(r.scenePicture)
p.endPhase('render:recordPicture')
}
p.endPhase('render:scene')