From 59c05fa390ec9e5fe5e03511d0fe60891dd33518 Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 10 Jun 2018 01:27:49 +0300 Subject: [PATCH] fix coincident UndoableCommand name "patchCreateCaps" --- radiant/patchmanip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiant/patchmanip.cpp b/radiant/patchmanip.cpp index d6e5fe94..6e26aead 100644 --- a/radiant/patchmanip.cpp +++ b/radiant/patchmanip.cpp @@ -582,7 +582,7 @@ void Patch_SquareCylinder(){ } void Patch_Endcap(){ - UndoableCommand undo( "patchCreateCaps" ); + UndoableCommand undo( "patchCreateEndCap" ); Scene_PatchConstructPrefab( GlobalSceneGraph(), PatchCreator_getBounds(), TextureBrowser_GetSelectedShader( GlobalTextureBrowser() ), eEndCap, GlobalXYWnd_getCurrentViewType() ); } @@ -704,7 +704,7 @@ void Patch_Transpose(){ void Patch_Cap(){ // FIXME: add support for patch cap creation // Patch_CapCurrent(); - UndoableCommand undo( "patchCreateCaps" ); + UndoableCommand undo( "patchPutCaps" ); Scene_PatchDoCap_Selected( GlobalSceneGraph(), TextureBrowser_GetSelectedShader( GlobalTextureBrowser() ) ); }