armory3d / armory3d/armorpaint

Undo-Redo-Mechanism issues

Open
#792 3 comments 0 reactions 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-01-30) - 77d0ef2

**OS/device including version:**
Win64

**Issue description:**
The undo-redo mechanism does not work with layer groups as expected

**Steps to reproduce:**
First problem:
1. Create several layers
2. Changing their order and redoing it works perfectly fine
3. Now create a group, for xample
![ap1](https://user-images.githubusercontent.com/28649121/106357053-09c73000-6304-11eb-8ce3-3ba873ce6fe7.jpg)
4. Redo it immediately and ArmorPaint switches into a unusable state
![ap2](https://user-images.githubusercontent.com/28649121/106357064-23687780-6304-11eb-8257-840d4569761e.jpg)

Second, related problem:
1. Reopen ArmorPaint
2. Create several Layers and groups
3. Assign Layers to groups
4. Redo some steps
5. The behavior is incorrect. Layers are shifted to wrong positions

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named. Reproduce the issue on Win64 using the listed layer-group and reopen/reorder steps, then trace the undo-redo handling for group creation and layer assignment. Done means redo no longer makes ArmorPaint unusable and layers retain their intended positions after reopening.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.