[FIX] Fix the issue withe percu.
This commit is contained in:
@@ -680,7 +680,7 @@ class ScoreScanner {
|
||||
|
||||
$instName = $instrumentNames[$instrument] ?? $instrument;
|
||||
|
||||
if (in_array($instrument, ['sup', 'par'], true) && $combined !== null && trim($combined) !== '') {
|
||||
if (in_array($instrument, ['sup', 'par', 'per'], true) && $combined !== null && trim($combined) !== '') {
|
||||
// Combined/superposed parts keep their real instrument names (e.g. "contrebasse-1+clarinette-1")
|
||||
$combined = strtolower(trim($combined));
|
||||
if (!$this->isValidSegment($combined, '/^[a-z0-9_+.-]+$/')) {
|
||||
|
||||
Reference in New Issue
Block a user