[note].accidentalType does not return integer #21674
Labels
community
Issues particularly suitable for community contributors to work on
needs review
The issue needs review to set priority, fix version or change status etc.
plugins
Related to MuseScore's QML plugin framework (NOT VST/audio plugins)
regression MS3
Regression from MS3 (3.6.2)
Issue type
Other type of issue
Bug description
When making a plugin, using [note].accidentalType does not return the proper integer, meaning that I cant use it in my plugins. When I print it to console, all I get is:
QVariant(mu::engraving::AccidentalType, )
This works in MuseScore 3 and I'm sure it worked in previous versions of MuseScore 4 too. Likely the recent update on quarter-tone accidentals messed up the ability to get their information with a plugin.
Steps to reproduce
[note].accidentalType==25
(this should correpsond to a half-sharp)console.log(note.accidentalType)
givesQVariant(mu::engraving::AccidentalType, )
Screenshots/Screen recordings
No response
MuseScore Version
4.2.1
Regression
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
Windows 11
Additional context
No response
The text was updated successfully, but these errors were encountered: