Bug fix: update of control point positions in property browser goes both ways.

This commit is contained in:
Tats
2015-07-18 13:12:56 -06:00
parent 6e7fed17eb
commit ffe6ff76b8
5 changed files with 21 additions and 3 deletions
+2 -2
View File
@@ -43,14 +43,14 @@ void MoveVertexCommand::undo()
{
_shape.toStrongRef()->copyFrom(*_originalShape);
_canvas->update();
// emit m_mapperGLCanvas->shapeChanged(m_mapperGLCanvas->getCurrentShape());
_canvas->currentShapeWasChanged();
}
void MoveVertexCommand::redo()
{
_shape.toStrongRef()->setVertex(_movedVertex, _vertexPosition);
_canvas->update();
// emit m_mapperGLCanvas->shapeChanged(m_mapperGLCanvas->getCurrentShape());
_canvas->currentShapeWasChanged();
}
bool MoveVertexCommand::mergeWith(const QUndoCommand* other)