Skip to content

[SVG] Cannot export the SVGScene into image  #99

@rnike

Description

@rnike

We are trying to export the canvas to png using add.renderer.generateTexture and app.renderer.extract, but the svg object isn't showing in the image.

After digging into the source code and found out this line is causing the issue

this._cull.cull(renderer.renderTexture.sourceFrame, true);

By removing this line, the svg object now can export as expected

- this._cull.cull(renderer.renderTexture.sourceFrame, true);

Although the app works fine without this line, we are not sure wether if there's side effect or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions