From 62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 25 Aug 2012 05:20:31 +0200 Subject: added alpha for vtxcolour editing. actually much easier than I expected! --- lspaneeditor.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lspaneeditor.cpp b/lspaneeditor.cpp index 49939ec..1f6ba11 100644 --- a/lspaneeditor.cpp +++ b/lspaneeditor.cpp @@ -437,7 +437,11 @@ void LSPaneEditor::handlePicColourClicked() { if (index == -1) return; - QColor newcol = QColorDialog::getColor(m_picture->vtxColours[index], this); + QColor newcol = QColorDialog::getColor( + m_picture->vtxColours[index], + this, + "Choose a Vertex Colour", + QColorDialog::ShowAlphaChannel); if (newcol.isValid()) { m_picture->vtxColours[index] = newcol; -- cgit v1.2.3