]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Fix: Selection is now deleted when creating a patch out of it (aumüller / namespace)
authornamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 19 Mar 2007 20:16:06 +0000 (20:16 +0000)
committernamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 19 Mar 2007 20:16:06 +0000 (20:16 +0000)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@158 8a3a26a2-13c4-0310-b231-cf6edde360e5

CHANGES
radiant/patchmanip.cpp

diff --git a/CHANGES b/CHANGES
index b026e00fc68819be25dff6f9c9f1d8567b216464..6f87cf824eaf71a29762e6373649440791e9fee8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 This is the changelog for developers, != changelog for the end user 
 that we distribute with the binaries. (see changelog)
 
+19/03/2007
+namespace
+- Fix: Selection is now deleted when creating a patch out of it (aumüller / namespace)
+
 08/03/2007
 namespace
 - Win32 compile fix (woekele)
index 80292238c4290cf38e35cc26277f2ad38f27079e..421290654864996c02299e81fb8e0e90c71b8cc0 100644 (file)
@@ -46,8 +46,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 PatchCreator* g_patchCreator = 0;
 
-void Scene_PatchConstructPrefab(scene::Graph& graph, const AABB& aabb, const char* shader, EPatchPrefab eType, int axis, std::size_t width = 3, std::size_t height = 3)
+void Scene_PatchConstructPrefab(scene::Graph& graph, const AABB aabb, const char* shader, EPatchPrefab eType, int axis, std::size_t width = 3, std::size_t height = 3)
 {
+  Select_Delete();
   GlobalSelectionSystem().setSelectedAll(false);
 
   NodeSmartReference node(g_patchCreator->createPatch());