Skip to content
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

Symmetry Tool + some tool bug fixes #1131

Merged
merged 4 commits into from
Feb 11, 2023

Conversation

manongjohn
Copy link
Collaborator

@manongjohn manongjohn commented Feb 4, 2023

This PR adds a new Symmetry Tool as well as fixes a few tool related bugs found while integrating.

image

Symmetry Tool


The Symmetry Tool provides 1 symmetrical guide which can be moved about the canvas and rotated as needed. The guide can be configured with the following options:

  • Lines - Set the number of lines of symmetry (2 - 16) radiating from the center point.
  • Opacity - Adjust the visibility of the symmetry guides
  • Rotation - Adjust the rotation of the symmetry guide
  • Color - Set the color of the symmetry guide
  • Line Symmetry - Use guide lines as mirror lines. This is only available with an even number of lines.
  • Presets - Allows you to save and reuse guide settings
  • Reset Position - Re-centers the guide to the middle of the canvas

Additional notes:

  • Settings are remembered between sessions.
  • Moving the center doesn't move the rotation handle. Hold Shift while moving center to shift both
  • Alt snaps rotation to 15° increments

In order to show/enable the Symmetry Guide in the Viewer, you must enable the Grid and Overlays option of the Viewer and check the Symmetry Guide option:

The following tools have been configured to work with the Symmetry guide:

  • Brush Tool
  • Fill tool
  • Paint tool
  • Eraser tool (Does not work with Invert option)
  • Tape tool
  • Geometry Tool
  • Selection Tool

Symmetry guide does work with Frame Range and Onion tool options as well as Guided Tweening with the Vector Brush and Geometric tools. Results may not be consistant on all symmetrical regions due to various factors.

Known issues while using Symmetry Guide:

  • Brush tool on standard Raster layers has some drawing lag when not using a MyPaint brush style. The lag becomes worse with more lines of symmetry and high Hardness setting. Not entirely sure why yet considering symmetry works fine on other levels.
  • Tape tool on Vector layers can take a lot of time to work if using Rectangle mode with high Distance setting and many lines of symmetry.

Tool Bug fixes


The following tool bugs were fixed

  • Fill Tool
    • Fixed bug with changing Onion-fill setting not taking effect until you change another setting
    • Fixed bug where sometimes switching to Normal Onion-fill mode doesn't work until you switch frames
    • Fixed crash caused when Freehand/Polyline Onion-fill mode stroke is completely outside of Smart Raster canvas
  • Eraser Tool (Vector)
    • Fixed bug with vector frame range undo incorrectly applying all undo actions to the wrong frames. Sometimes resulted in crashes.
  • Tape Tool (Smart Raster)
    • Fixed bug with smart raster frame range undo incorrectly applying all undo actions to the last frame.

@manongjohn manongjohn added the 1.4 Included in Version 1.4 label Feb 4, 2023
@Dixxi0509
Copy link

This is amazing can't wait!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.4 Included in Version 1.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants