Fix usage of some uninitialized variables

This commit is contained in:
David Capello 2016-05-11 13:00:02 -03:00
parent e68eebda1c
commit 0ad2af8eb1
3 changed files with 3 additions and 0 deletions

View File

@ -159,6 +159,7 @@ Editor::Editor(Document* document, EditorFlags flags)
, m_brushPreview(this)
, m_lastDrawingPosition(-1, -1)
, m_toolLoopModifiers(tools::ToolLoopModifiers::kNone)
, m_autoSelectLayer(false)
, m_padding(0, 0)
, m_antsTimer(100, this)
, m_antsOffset(0)

View File

@ -66,6 +66,7 @@ PixelsMovement::PixelsMovement(
, m_adjustPivot(false)
, m_handle(NoHandle)
, m_originalImage(Image::createCopy(moveThis))
, m_opaque(false)
, m_maskColor(m_sprite->transparentColor())
{
gfx::Transformation transform(mask->bounds());

View File

@ -126,6 +126,7 @@ Timeline::Timeline()
, m_editor(NULL)
, m_document(NULL)
, m_sprite(NULL)
, m_state(STATE_STANDBY)
, m_separator_x(100 * guiscale())
, m_separator_w(1)
, m_confPopup(NULL)