| View previous topic :: View next topic |
| Author |
Message |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 21/03/06 15:37 Post subject: |
|
|
Thanks has to go back, since you are so strongly committed to your component and provide such excellent and fast support. Rarely seen even with commercial offers.
_________________ Hans-Peter |
|
| Back to top |
|
 |
kokkoras Senior Member

Joined: 12 Mar 2005 Posts: 250 Location: Thessaloniki, Greece
|
Posted: 21/03/06 16:22 Post subject: |
|
|
AGAIN, I am not sure if this is a demo or a library issue/bug, but:
When I change the node type of a linked node in the demo examples, the resulting node is no longer linked. This was discovered in 2.2 but Kambiz is lighting speedy, so my appology for the late report.
EDIT: the link's tooltip still says that it is hooked but moving the node around reveals the issue.
_________________ Fotis |
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 21/03/06 17:45 Post subject: |
|
|
On first test I got frightend, because LoadFromFile wasn't working right.
Then I realize that i missed a change (2.0-2.1) in demo-main from SimpleGraphObjectInsert to SimpleGraphObjectInitInstance.
SimpleGraphObjectInsert is now used in 2.3 on LoadFromFile on each node.
So no more a place to set node properties.
But now I got it working again. I like the pan-mode!!
Plugin 1.03 released.
_________________ Hans-Peter |
|
| Back to top |
|
 |
kokkoras Senior Member

Joined: 12 Mar 2005 Posts: 250 Location: Thessaloniki, Greece
|
Posted: 21/03/06 17:56 Post subject: |
|
|
| HPW wrote: | | I like the pan-mode!! |
It's very nice but I would prefer to be in pan-mode as long as ctrl+space is pressed. When you need to pan you usually do something else (edit) and want to return back to that mode automatically. Anyway, it's not big deal. Kambiz deserves some rest.
_________________ Fotis |
|
| Back to top |
|
 |
kokkoras Senior Member

Joined: 12 Mar 2005 Posts: 250 Location: Thessaloniki, Greece
|
Posted: 21/03/06 17:59 Post subject: |
|
|
| HPW wrote: | | So no more a place to set node properties. |
Why don't you set the properties having the node hidden and then make it visible (when settings have been set)?
_________________ Fotis |
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 21/03/06 18:24 Post subject: |
|
|
| kokkoras wrote: | | Why don't you set the properties having the node hidden and then make it visible (when settings have been set)? |
No problem. SimpleGraphObjectInitInstance is the perfect place.
_________________ Hans-Peter |
|
| Back to top |
|
 |
kokkoras Senior Member

Joined: 12 Mar 2005 Posts: 250 Location: Thessaloniki, Greece
|
Posted: 21/03/06 18:41 Post subject: |
|
|
| HPW wrote: | | No problem. SimpleGraphObjectInitInstance is the perfect place. |
OK, I thought this was removed
_________________ Fotis |
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 21/03/06 21:15 Post subject: |
|
|
A small issue about the new pan-mode.
There is a key-binding for the arrow keys which seems not so logical.
With the right and left key I move the view right and left. Logical.
With the up and down key I move the view down and up. Not logical.
Wanted behaviour?
_________________ Hans-Peter |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 22/03/06 00:54 Post subject: |
|
|
| HPW wrote: | A small issue about the new pan-mode.
There is a key-binding for the arrow keys which seems not so logical.
With the right and left key I move the view right and left. Logical.
With the up and down key I move the view down and up. Not logical.
Wanted behaviour? |
Simply I've never pressed up/down key to test the behavior.
_________________ Kambiz |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 22/03/06 01:13 Post subject: |
|
|
| kokkoras wrote: | AGAIN, I am not sure if this is a demo or a library issue/bug, but:
When I change the node type of a linked node in the demo examples, the resulting node is no longer linked. This was discovered in 2.2 but Kambiz is lighting speedy, so my appology for the late report.
EDIT: the link's tooltip still says that it is hooked but moving the node around reveals the issue. |
The bug is in TGraphObjectList.Assign method.
Thank you.
_________________ Kambiz |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 22/03/06 01:18 Post subject: |
|
|
| HPW wrote: | SimpleGraphObjectInsert is now used in 2.3 on LoadFromFile on each node.
|
OnObjectInsert occurs whenever an object places on the graph.
OnObjectInitInstance occurs when the object is created but still is not inserted on the graph. This event doesn't trigger for objects loading from a stream.
_________________ Kambiz |
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 22/03/06 06:38 Post subject: |
|
|
| Quote: | OnObjectInsert occurs whenever an object places on the graph.
|
Yes, that was my experience, but starting with 2.3!
I had modelled the plugin after the methods used in demo-main 2.0
So it work until 2.3 and after a look in the newer demo-main, I changed to OnObjectInitInstance and got it working back.
_________________ Hans-Peter |
|
| Back to top |
|
 |
P_G Member
Joined: 14 Jun 2004 Posts: 44 Location: Germany
|
Posted: 22/03/06 09:33 Post subject: |
|
|
Thanks a lot for this excellent component, Kambiz. It's a fantastic thing to learn from your code. Especially when I compare it with older versions.
C. U.
P_G
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 22/03/06 10:21 Post subject: |
|
|
Thanks you!
By the way, if you think there's no more bug, I upload the update.
_________________ Kambiz |
|
| Back to top |
|
 |
|