Fixing shape tree ordering

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2011-03-25 12:05:18 -07:00
parent 42fa76dced
commit 8947265a46
3 changed files with 6 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ namespace Orchard.DesignerTools.Services {
private readonly IThemeManager _themeManager;
private readonly IWebSiteFolder _webSiteFolder;
private readonly IAuthorizer _authorizer;
private int shapeId = 0;
public ShapeTracingFactory(
WorkContext workContext,
@@ -132,6 +133,8 @@ namespace Orchard.DesignerTools.Services {
if(shapeMetadata.Type == "Zone") {
shape.Hint = ((Zone) shape).ZoneName;
}
shape.ShapeId = shapeId++;
}