mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Bug fix: update of control point positions in property browser goes both ways.
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user