From 5c0e62f05afee580bfeb48d26f8904f8fa5cf801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 27 Jul 2009 14:23:14 +0000 Subject: [PATCH] Disabled the Transformation and Perspective transformers for the time being. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31807 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/gui/TransformerListView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/icon-o-matic/gui/TransformerListView.cpp b/src/apps/icon-o-matic/gui/TransformerListView.cpp index 17b9396d45..b7e04e247e 100644 --- a/src/apps/icon-o-matic/gui/TransformerListView.cpp +++ b/src/apps/icon-o-matic/gui/TransformerListView.cpp @@ -375,6 +375,11 @@ TransformerListView::SetMenu(BMenu* menu) uint32 type; BString name; while (TransformerFactory::NextType(&cookie, &type, &name)) { + // TODO: Disable the "Transformation" and "Perspective" transformers + // since they are not very useful or even implemented at all. + if (name == "Transformation" || name == "Perspective") + continue; + // End of TODO. BMessage* message = new BMessage(MSG_ADD_TRANSFORMER); message->AddInt32("type", type); addMenu->AddItem(new BMenuItem(name.String(), message));