-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation suggestion: StrobeSpeed + ShutterStrobe #3981
Comments
I actually found some fixtures where this might be valid (or rather we don't have a better way to model this): In futurelight/dmh-75-i-led-moving-head, prolights/diamond19 and showline/sl-nitro-510c, one channel defines the strobe type and another channel switches between closed/open shutter, or the selected strobe effect with a variable strobe speed. I can make the check a little less eager though, so it only warns when there is no other Strobe channel. That seems to work fine and has also revealed the only other fixture with this capability combination (chauvet-professional/colorado-1-solo), where it is a true mistake: open-fixture-library/fixtures/chauvet-professional/colorado-1-solo.json Lines 277 to 311 in 01721f6
|
There are many fixtures (and proposed fixtures) which are written with capabilities like this:
which is almost certainly wrong: StrobeSpeed is a global setting, not an enabler of the strobe feature, so a sibling capability of type ShutterStrobe is indicative that this isn't what was intended.
In the above case, it should be:
It would be great if we could catch this mistake earlier (in the editor, or the validator) so we didn't end up with a bunch of these to fix in review, or which accidentally pass review and end up in OFL.
The text was updated successfully, but these errors were encountered: