mirror of
https://github.com/overte-org/overte.git
synced 2025-07-16 20:37:29 +02:00
Load splat texture as such when painting.
This commit is contained in:
parent
2dfabdfe64
commit
28f9af695e
1 changed files with 1 additions and 1 deletions
|
@ -1197,5 +1197,5 @@ QVariant HeightfieldTextureBrushTool::createEdit(bool alternate) {
|
||||||
|
|
||||||
void HeightfieldTextureBrushTool::updateTexture() {
|
void HeightfieldTextureBrushTool::updateTexture() {
|
||||||
HeightfieldTexture* texture = static_cast<HeightfieldTexture*>(_textureEditor->getObject().data());
|
HeightfieldTexture* texture = static_cast<HeightfieldTexture*>(_textureEditor->getObject().data());
|
||||||
_texture = Application::getInstance()->getTextureCache()->getTexture(texture->getURL());
|
_texture = Application::getInstance()->getTextureCache()->getTexture(texture->getURL(), SPLAT_TEXTURE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue