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);
|
renderContext.atlasRenderingTimerQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw "scenery" (used in the 3D view).
|
|
||||||
this.drawSceneryIfNecessary();
|
|
||||||
|
|
||||||
// Antialias.
|
// Antialias.
|
||||||
const antialiasingStrategy = unwrapNull(this.antialiasingStrategy);
|
const antialiasingStrategy = unwrapNull(this.antialiasingStrategy);
|
||||||
antialiasingStrategy.antialias(this);
|
antialiasingStrategy.antialias(this);
|
||||||
|
@ -124,6 +121,9 @@ export abstract class Renderer {
|
||||||
// Clear.
|
// Clear.
|
||||||
this.clearForDirectRendering();
|
this.clearForDirectRendering();
|
||||||
|
|
||||||
|
// Draw "scenery" (used in the 3D view).
|
||||||
|
this.drawSceneryIfNecessary();
|
||||||
|
|
||||||
// Perform direct rendering (Loop-Blinn).
|
// Perform direct rendering (Loop-Blinn).
|
||||||
if (antialiasingStrategy.directRenderingMode !== 'none')
|
if (antialiasingStrategy.directRenderingMode !== 'none')
|
||||||
this.renderDirect();
|
this.renderDirect();
|
||||||
|
|
Loading…
Reference in New Issue