Don't clear away the scenery after drawing it!
Fixes the 3D view.
This commit is contained in:
parent
572b7cdd4a
commit
511e5956d8
|
@ -111,9 +111,6 @@ export abstract class Renderer {
|
|||
renderContext.atlasRenderingTimerQuery);
|
||||
}
|
||||
|
||||
// Draw "scenery" (used in the 3D view).
|
||||
this.drawSceneryIfNecessary();
|
||||
|
||||
// Antialias.
|
||||
const antialiasingStrategy = unwrapNull(this.antialiasingStrategy);
|
||||
antialiasingStrategy.antialias(this);
|
||||
|
@ -124,6 +121,9 @@ export abstract class Renderer {
|
|||
// Clear.
|
||||
this.clearForDirectRendering();
|
||||
|
||||
// Draw "scenery" (used in the 3D view).
|
||||
this.drawSceneryIfNecessary();
|
||||
|
||||
// Perform direct rendering (Loop-Blinn).
|
||||
if (antialiasingStrategy.directRenderingMode !== 'none')
|
||||
this.renderDirect();
|
||||
|
|
Loading…
Reference in New Issue