There is a bug when I update an element which has a RTCompositeShape with one of its shape as a RTCompositeShape too
On Thu, Apr 24, 2014 at 5:29 PM, Leo Perard leo.perard@gmail.com wrote:
On Thu, Apr 24, 2014 at 5:12 PM, Alexandre Bergel <alexandre.bergel@me.com
wrote:
I just committed the possibility for element to be fixed or not.
For example:
testAdding
| e1 e2 | e1 := RTBox element. e2 := RTBox element. e1 setAsFixed. view add: e1. view add: e2. self assert: view canvas numberOfFixedShapes = 1. self assert: view canvas numberOfShapes = 1.
Let me know whether this works as you expect.
No I get this error :
The canvas of the composite shape is nil
-- Leo Perard