Commit 245a0f5d authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Initialize heightmap device with neutral gray color

parent bfaec3cf
......@@ -18,6 +18,7 @@ KisColorSmudgeInterstrokeData::KisColorSmudgeInterstrokeData(KisPaintDeviceSP so
projectionDevice = overlayDeviceWrapper.overlay(0);
colorBlendDevice = overlayDeviceWrapper.overlay(1);
heightmapDevice = new KisPaintDevice(KoColorSpaceRegistry::instance()->rgb8());
heightmapDevice->setDefaultPixel(KoColor(QColor(127,127,127), heightmapDevice->colorSpace()));
}
KisColorSmudgeInterstrokeData::~KisColorSmudgeInterstrokeData()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment