Skip to content

View masters, even if master count is not the same... #3

Description

@HansG1

Changing the code from line 42 to the following would make it possible to view the according masters of another font, even if it has more masters than the current:

if len(masters) != len(nextFontMasters):
   if activeMasterIndex <= len(nextFontMasters):
      nextLayer = nextGlyph.layers[activeMasterIndex]
   else:
      nextLayer = nextGlyph.layers[0]
else:
   nextLayer = nextGlyph.layers[activeMasterIndex]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions