Attempt at making mirror guides snap that doesn't want to work.(incomplete)
AbandonedPublic

Authored by woltherav on Mar 12 2016, 4:17 PM.

Details

Reviewers
dkazakov
Summary

I really wanted to get this one in because 'how do I snap the mirror line back to the center' is a very common question. Furthermore, when doing game art, being able to snap the mirror line to the grids would be really useful.

The barebones are there. The snapToGuide function is adapted from KisTool.cc, the events get read properly etc... The onlyweird thing is that when doing snapGuide->snap(blahblah), the point that gets sent in doesn't get snapped to anything. And qdebugging doesn't tell me what is going on.

I figured this would be better than email. (BTW, test out the mirror guide beforehand, there's a strange twitching going on when using a tablet, and I am 100% sure that isn't my patch's fault).

Test Plan
  • It builds, it just doesn't do what it is supossed to do: snap.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
woltherav updated this revision to Diff 2745.Mar 12 2016, 4:17 PM
woltherav retitled this revision from to Attempt at making mirror guides snap that doesn't want to work.(incomplete).
woltherav updated this object.
woltherav edited the test plan for this revision. (Show Details)
woltherav added a reviewer: dkazakov.
woltherav set the repository for this revision to R37 Krita.
woltherav added a project: Krita.
woltherav abandoned this revision.Sep 29 2017, 2:15 PM

I'm abandoning this one since it is over one and a half year old.