aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-29 22:13:14 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-29 22:13:14 +0100
commit2bbceb457f29a1410b99eebbcd42cdb386691b38 (patch)
treedfc4556205c31c66fb2b56c2ddf54694c7aa6bc2 /src/GraphicObjects/Group.cs
parent8a25a19ee73e8b7c0c9726bbb2ce4ec918f4e905 (diff)
crowObjs type search debug, improve type search in ItemTemplate selection
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index a285e282..3c509185 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -337,8 +337,10 @@ namespace Crow
if (t == null) {
Assembly a = Assembly.GetEntryAssembly ();
foreach (Type expT in a.GetExportedTypes ()) {
- if (expT.Name == subTree.Name)
+ if (expT.Name == subTree.Name) {
t = expT;
+ break;
+ }
}
}
if (t == null)