default to re-boolean svg imports

This commit is contained in:
Stewart Allen 2022-11-02 13:35:04 -04:00
commit d1847707ba

View file

@ -16,7 +16,7 @@ function parseAsync(text, opt) {
});
}
function parse(text, opt = {}) {
function parse(text, opt = { soup: true }) {
const fromSoup = opt.soup || false;
const objs = [];
const data = new THREE.SVGLoader().parse(text);