mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-30 03:00:51 +01:00
Update culling
This commit is contained in:
parent
f4d3eba455
commit
f1e17d7414
@ -117,10 +117,14 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
|
|||||||
{
|
{
|
||||||
if(!this._master) this._master = new Container();
|
if(!this._master) this._master = new Container();
|
||||||
|
|
||||||
|
this._master.cullableChildren = false;
|
||||||
|
|
||||||
if(!this._display)
|
if(!this._display)
|
||||||
{
|
{
|
||||||
const display = new Container();
|
const display = new Container();
|
||||||
|
|
||||||
|
display.cullableChildren = false;
|
||||||
|
|
||||||
this._master.addChild(display);
|
this._master.addChild(display);
|
||||||
|
|
||||||
this._display = display;
|
this._display = display;
|
||||||
|
Loading…
Reference in New Issue
Block a user