mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
oops; terminate properly painting action.
This commit is contained in:
1
View.cpp
1
View.cpp
@@ -3267,6 +3267,7 @@ void AppearanceView::terminate()
|
|||||||
// special case for texture paint: store image on mouse release (end of action PAINT)
|
// 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 ) {
|
if ( edit_source_ != nullptr && current_action_.find(MASK_PAINT_ACTION_LABEL) != std::string::npos ) {
|
||||||
edit_source_->storeMask();
|
edit_source_->storeMask();
|
||||||
|
edit_source_->maskShader()->cursor = glm::vec4(100.0, 100.0, 0.f, 0.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// View default termination of action
|
// View default termination of action
|
||||||
|
|||||||
Reference in New Issue
Block a user