Hi Yuriy!
I guess you meant "view add: edge; add: node1; add: node2." instead of using "rawView".
The script does not freeze the VM I use (Croquet Cog 4.0.2636 and the one contained in the Pharo 1.4 one click).
In fact, having an edge without line is perfectly okay. No error is raised and none should be raised. The line is simply invisible. Strange that you got this error.
Anyone can reproduce this error?
Cheers,
Alexandre
On Jan 25, 2013, at 10:37 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi.
When edges are initialized without lines, VM freezes.
For instance when I run next code:
| view node1 node2 edge |
view := ROView new.
node1 := ROLabel elementOn: 'node1'.
node2 := ROLabel elementOn: 'node2'.
node1 @ RODraggable.
node2 @ RODraggable.
edge := ROEdge from: node1 to: node2.
rawView add: edge; add: node1; add: node2.
ROHorizontalLineLayout on: (Array with: node1 with: node2).
view open
I know that you should do something like
edge + (ROLine red).
But Roasal shouldnt freeze the VM anyway :)
--
View this message in context: http://moose-dev.97923.n3.nabble.com/Roasal-freezing-VM-tp4025992.html
Sent from the moose-dev mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev