armory3d / armory3d/armorpaint

Clone tool is not zoom invariant

Open
#1,060 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
C
Stars
5k
Forks
553
Avg merge
3d 11h
Merged PRs (30d)
6

Description

**ArmorPaint version:**
ArmorPaint.org - v0.8 (2021-07-16) - e5a4f7a

**OS/device including version:**
Win10x64

**Issue description:**
The clone tool radius is not zoom invariant like it is for other tools.

**Steps to reproduce:**
1. Paint some pattern to clone
2. Select the clone tool and set a source
3. Now zoom in or out
4. The source "circle" is not zoomed and changes its position

Before zooming
![grafik](https://user-images.githubusercontent.com/28649121/125912370-393c64f5-f1af-46ea-a6f4-1f568d0966bf.png)

After zooming
![grafik](https://user-images.githubusercontent.com/28649121/125912635-eda95799-290b-4e59-a2a1-b73889830742.png)
The source circle even moved into the "destination" circle.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in ArmorPaint v0.8 on Win10 using the clone tool: paint a pattern, set a source, and zoom in and out. Trace the clone tool's source-circle and radius handling alongside the other painting tools; done means the source remains correctly positioned and zoom-invariant after changing the view.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.