Default brush size to 1

pull/556/head
Nelsson Huotari 5 years ago
parent fbb9800e89
commit 78f2a5181d

@ -41,7 +41,7 @@
CSVRender::TerrainTextureMode::TerrainTextureMode (WorldspaceWidget *worldspaceWidget, osg::Group* parentNode, QWidget *parent)
: EditMode (worldspaceWidget, QIcon {":scenetoolbar/editing-terrain-texture"}, Mask_Terrain | Mask_Reference, "Terrain texture editing", parent),
mBrushTexture("L0#0"),
mBrushSize(0),
mBrushSize(1),
mBrushShape(0),
mTextureBrushScenetool(nullptr),
mDragMode(InteractionType_None),

@ -58,7 +58,7 @@ CSVWidget::BrushSizeControls::BrushSizeControls(const QString &title, QWidget *p
CSVWidget::TextureBrushWindow::TextureBrushWindow(CSMDoc::Document& document, QWidget *parent)
: QFrame(parent, Qt::Popup),
mBrushShape(0),
mBrushSize(0),
mBrushSize(1),
mBrushTexture("L0#0"),
mDocument(document)
{

Loading…
Cancel
Save