From 7e6ee0806d307f13c44ef5fe26f503e94fb5a51d Mon Sep 17 00:00:00 2001 From: brunoherbelin Date: Sun, 24 Jan 2021 17:44:09 +0100 Subject: [PATCH] oops; terminate properly painting action. --- View.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/View.cpp b/View.cpp index cf3dc9c..6dc491a 100644 --- a/View.cpp +++ b/View.cpp @@ -3267,6 +3267,7 @@ void AppearanceView::terminate() // special case for texture paint: store image on mouse release (end of action PAINT) if ( edit_source_ != nullptr && current_action_.find(MASK_PAINT_ACTION_LABEL) != std::string::npos ) { edit_source_->storeMask(); + edit_source_->maskShader()->cursor = glm::vec4(100.0, 100.0, 0.f, 0.f); } // View default termination of action