Symmetry Tool + some tool bug fixes #1131
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new Symmetry Tool as well as fixes a few tool related bugs found while integrating.
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 guidesRotation
- Adjust the rotation of the symmetry guideColor
- Set the color of the symmetry guideLine 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 settingsReset Position
- Re-centers the guide to the middle of the canvasAdditional notes:
Shift
while moving center to shift bothAlt
snaps rotation to 15° incrementsIn order to show/enable the Symmetry Guide in the Viewer, you must enable the
Grid and Overlays
option of the Viewer and check theSymmetry Guide
option:The following tools have been configured to work with the Symmetry guide:
Invert
option)Symmetry guide does work with
Frame Range
andOnion
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:
Hardness
setting. Not entirely sure why yet considering symmetry works fine on other levels.Rectangle
mode with highDistance
setting and many lines of symmetry.Tool Bug fixes
The following tool bugs were fixed