src/editmodes/circleMode.cpp

changeset 1079
67c6e5d32e68
parent 1077
952d6b3e7d11
child 1082
1738bdaf36d6
equal deleted inserted replaced
1078:c72e3115a297 1079:67c6e5d32e68
84 } 84 }
85 85
86 86
87 void CircleMode::endDraw() 87 void CircleMode::endDraw()
88 { 88 {
89 Model model; 89 Model model {m_documents};
90 PrimitiveModel primitiveModel; 90 PrimitiveModel primitiveModel;
91 primitiveModel.segments = m_window->ringToolSegments(); 91 primitiveModel.segments = m_window->ringToolSegments();
92 primitiveModel.divisions = m_window->ringToolHiRes() ? HighResolution : LowResolution; 92 primitiveModel.divisions = m_window->ringToolHiRes() ? HighResolution : LowResolution;
93 primitiveModel.ringNumber = 0; 93 primitiveModel.ringNumber = 0;
94 double dist0 (getCircleDrawDist (0)); 94 double dist0 (getCircleDrawDist (0));

mercurial