[Supertux-Commit] r5840 - trunk/supertux-editor/supertux-editor/LevelObjects

mmlosh at millhouse.dreamhost.com mmlosh at millhouse.dreamhost.com
Sat Feb 21 02:35:17 PST 2009


Author: mmlosh
Date: 2009-02-21 02:35:17 -0800 (Sat, 21 Feb 2009)
New Revision: 5840

Modified:
   trunk/supertux-editor/supertux-editor/LevelObjects/Camera.cs
Log:
Hide camera in ObjectList - there is toolbar button for doing that. This step also prevents user from adding more than one camera


Modified: trunk/supertux-editor/supertux-editor/LevelObjects/Camera.cs
===================================================================
--- trunk/supertux-editor/supertux-editor/LevelObjects/Camera.cs	2009-02-14 19:52:46 UTC (rev 5839)
+++ trunk/supertux-editor/supertux-editor/LevelObjects/Camera.cs	2009-02-21 10:35:17 UTC (rev 5840)
@@ -1,7 +1,7 @@
 //  $Id$
 using LispReader;
 
-[SupertuxObject("camera", "images/engine/editor/camera.png")]
+[SupertuxObject("camera", "images/engine/editor/camera.png", Target = SupertuxObjectAttribute.Usage.None)]
 public sealed class Camera : IGameObject, IPathObject {
 
 	/// <summary>



More information about the Supertux-Commit mailing list