diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-29 22:13:14 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-29 22:13:14 +0100 |
| commit | 2bbceb457f29a1410b99eebbcd42cdb386691b38 (patch) | |
| tree | dfc4556205c31c66fb2b56c2ddf54694c7aa6bc2 /src/GraphicObjects/TemplatedContainer.cs | |
| parent | 8a25a19ee73e8b7c0c9726bbb2ce4ec918f4e905 (diff) | |
crowObjs type search debug, improve type search in ItemTemplate selection
Diffstat (limited to 'src/GraphicObjects/TemplatedContainer.cs')
| -rw-r--r-- | src/GraphicObjects/TemplatedContainer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GraphicObjects/TemplatedContainer.cs b/src/GraphicObjects/TemplatedContainer.cs index 44c2ad08..f4243588 100644 --- a/src/GraphicObjects/TemplatedContainer.cs +++ b/src/GraphicObjects/TemplatedContainer.cs @@ -84,8 +84,10 @@ namespace Crow if (t == null) { Assembly a = Assembly.GetEntryAssembly (); foreach (Type expT in a.GetExportedTypes ()) { - if (expT.Name == xr.Name) + if (expT.Name == xr.Name) { t = expT; + break; + } } } if (t == null) |