Open machenmusik opened 7 years ago
use case: Vive tracker has OpenVR
id prefix, and empty string for hand. this bug makes it impossible to actually pass in empty string to hand
in tracked-controls
to match properly. see undesirable workaround in vive-tracker PR #2583
What's our proposed solution?
... so there is no way to actually pass in empty string in distinguishable fashion (e.g.
{type:'string', default:undefined}
doesn't work since empty string BECOMES undefined)codepen example http://codepen.io/machenmusik/pen/XRjYBO
note that it doesn't actually matter whether type is string or omitted entirely.