[longomatch] Fix canvas object creation with the new namespace



commit 1d128eb9155285c47febf4c68643dcd7227701d6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Aug 21 00:58:25 2014 +0200

    Fix canvas object creation with the new namespace

 LongoMatch.Drawing/Utils.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Utils.cs b/LongoMatch.Drawing/Utils.cs
index c0cdf96..8f0fcb9 100644
--- a/LongoMatch.Drawing/Utils.cs
+++ b/LongoMatch.Drawing/Utils.cs
@@ -58,7 +58,7 @@ namespace LongoMatch.Drawing
 
                public static ICanvasSelectableObject CanvasFromDrawableObject (IBlackboardObject drawable)
                {
-                       string objecttype = String.Format ("LongoMatch.Drawing.CanvasObject.{0}Object",
+                       string objecttype = String.Format ("LongoMatch.Drawing.CanvasObjects.{0}Object",
                                                           drawable.GetType ().ToString ().Split ('.').Last 
());
                        ObjectHandle handle = Activator.CreateInstance (null, objecttype);
                        ICanvasDrawableObject d = (ICanvasDrawableObject)handle.Unwrap ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]