Diffusion Krita a06dc1b5d028

Fix resetting LoDN cache when changing visibility of the layer

Authored by dkazakov on Jul 27 2017, 2:06 PM.

Description

Fix resetting LoDN cache when changing visibility of the layer

Ideally, we need to be able update both lod0 and lodN planes
without resetting them. That would make visibility switches on
huge (10k+) canvasses much faster. But right now we don't have
a framework for it.

Fixes T6652