diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 14:10:19 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 15:17:13 +0100 |
| commit | 14c11116a5a53bc8c628b4963ecdfd31ccd41ee0 (patch) | |
| tree | a4da1b41fbbac0b994089ea6b501f1351f909db6 /src/LayoutingQueueItem.cs | |
| parent | d5f05d1fb773975e868291dfd1f6b8b69ddedc6d (diff) | |
new layouting queue with double linked list, buggy
Diffstat (limited to 'src/LayoutingQueueItem.cs')
| -rw-r--r-- | src/LayoutingQueueItem.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs index 95234112..d1cfaeb9 100644 --- a/src/LayoutingQueueItem.cs +++ b/src/LayoutingQueueItem.cs @@ -45,6 +45,10 @@ namespace Crow { LayoutType = _layoutType; GraphicObject = _graphicObject; + GraphicObject.RegisteredLQIs.Add (this); + } + public void DeleteLayoutableRef(){ + GraphicObject.RegisteredLQIs.Remove(this); } public void ProcessLayouting() { |