keep iTransform and color when replacing shader

This commit is contained in:
brunoherbelin
2020-11-30 23:16:58 +01:00
parent cc4d9ede97
commit ca51c5348e
2 changed files with 8 additions and 2 deletions

View File

@@ -299,7 +299,6 @@ void Source::setImageProcessingEnabled (bool on)
// this calls replaceShader() on the Primitive and
// will delete the previously attached shader
texturesurface_->replaceShader(renderingshader_);
}
bool Source::imageProcessingEnabled()