mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Cleanup
This commit is contained in:
parent
decc387930
commit
4d9cdb6128
1 changed files with 1 additions and 4 deletions
|
@ -128,9 +128,6 @@ void CSVRender::TerrainVertexPaintMode::primaryEditPressed(const WorldspaceHitRe
|
|||
{
|
||||
if (mDragMode == InteractionType_PrimaryEdit)
|
||||
{
|
||||
CSMDoc::Document& document = getWorldspaceWidget().getDocument();
|
||||
// QUndoStack& undoStack = document.getUndoStack();
|
||||
// undoStack.beginMacro("Set land normals");
|
||||
editVertexColourGrid(CSMWorld::CellCoordinates::toVertexCoords(hit.worldPos), true);
|
||||
}
|
||||
}
|
||||
|
@ -167,7 +164,7 @@ bool CSVRender::TerrainVertexPaintMode::primaryEditStartDrag(const QPoint& pos)
|
|||
mIsEditing = true;
|
||||
CSMDoc::Document& document = getWorldspaceWidget().getDocument();
|
||||
QUndoStack& undoStack = document.getUndoStack();
|
||||
undoStack.beginMacro("Set land normals");
|
||||
undoStack.beginMacro("Set land vertex colours");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue