perf(canvas): avoid duplicate scene picture draw on record
This commit is contained in:
parent
f5bcf92ce4
commit
05b3a870c2
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue