Commit 79544999 authored by Craig Watson's avatar Craig Watson Committed by Clément Fauconnier

Initialize forgotten member variable

This ensures distance from previous point is calculated correctly
parent 7b1f64ea
......@@ -326,6 +326,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
, mZoomFactor(1)
, mBackgroundObject(0)
, mPreviousWidth(0)
, mDistanceFromLastStrokePoint(0)
, mInputDeviceIsPressed(false)
, mArcPolygonItem(0)
, mRenderingContext(Screen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment