Load splat texture as such when painting.

This commit is contained in:
Andrzej Kapolka 2014-08-25 11:34:41 -07:00
parent 2dfabdfe64
commit 28f9af695e

View file

@ -1197,5 +1197,5 @@ QVariant HeightfieldTextureBrushTool::createEdit(bool alternate) {
void HeightfieldTextureBrushTool::updateTexture() {
HeightfieldTexture* texture = static_cast<HeightfieldTexture*>(_textureEditor->getObject().data());
_texture = Application::getInstance()->getTextureCache()->getTexture(texture->getURL());
_texture = Application::getInstance()->getTextureCache()->getTexture(texture->getURL(), SPLAT_TEXTURE);
}