| Summary: | Graphiti fails to handle resize after custom feature addition in the tutorial | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Wendell Beckwith <wbeckwith> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | juergen.pasch, michael.wenz |
| Version: | 0.8.0 | Flags: | juergen.pasch:
indigo+
|
| Target Milestone: | 0.8.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | Indigo M7 theme_bugs | ||
|
Description
Wendell Beckwith
Resizing the EClass after the described steps in the early stage of the tutorial is not possible, because the edit policy GFNonResizableEditPolicy is instantiated in this particular situation: at this time "canResize" delivered "false". GFNonResizableEditPolicy erroneously does *never* consider the resize feature itself. As opposed to this GFResizableEditPolicy inspects "canResize" and works fine. Maybe most shapes are created "resizable", before they become "un-resizable", so that might be the reason the wrong behaviour was never reported before. Now the edit policy GFResizableEditPolicy works alone, since it can handle "canResize" changes. Bookkeeping Part of 0.8.0 Part of Graphiti Indigo 0.8.0 |