milasudril / texpainter

A tool for creating tilable textures
GNU General Public License v3.0
4 stars 1 forks source link

[bug] Nodes deos not update properly when canvas size changes #28

Closed milasudril closed 3 years ago

milasudril commented 3 years ago

Build info

Id: 4eb03e93532272193ba41de3fb774968 VCS revision id: 4960d6e7093b43790fa89b8fd75f15262cfbd452 Compiler: g++-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0

Information about the problem

Bug type: crash | unexpected behavior

Detailed description

If canvas size is changed, Node cache is not invalidated, resulting in bad output or UB.

Step by step procedure to reproduce the problem

  1. Load the attached file
  2. Click on "Document/Set canvas size"
  3. Change size
  4. Document is not rendered properly any more

Expected behavior

The rendering should work

Platform

test.txp.gz