You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @marcusdiy and thanks for taking the time to test our framework, it's our first public issue :).
There's no nested/recursive selector implemented so a solution would be to use the filter methods : let res = _r.select(*:mesh).filter(mesh => return mesh.material && (mesh.material.name == "blue" || mesh.material.name == "ball"))
...But _r is not usefull in this case so maybe we can do something with the attribute selector. For example with _r we can make _r.select('*:mesh [isVisible = true])
...But it's not recursive on the attribute, so it could be a good improvement to do something like _r.select('*:mesh [material.name == blue || material.name == ball])
Like in HTML, is there a way to use nested/recursive selector?
So this
_r.select("*:mesh material:ball material:blue");
so it would:The text was updated successfully, but these errors were encountered: