[longomatch/newui: 31/50] Fix canvas object creation with the new namespace



commit fb924b779b93069c1d755766530a33430db210ac
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]