Clickable property
Posted: 31.01.2008, 19:34
The latest code in SVN has a Clickable property for ssc objects. This works as you might expect. Adding the line:
Clickable false
to an ssc object definition will prevent it from being selected when clicked. As far as click selection is concerned, the object behaves as it if isn't there at all: it's possible to click other objects behind the a clickable false object. This is strange behavior if the clickable false is applied to an opaque object, but presumably this is not how add-on creators will use it
There is currently no Clickable property for stars or deep sky objects. For stars, I can't see that it would ever be necessary. For deep sky objects, maybe. This change also doesn't Chuft-Captain's 'translucent' option at the moment.
It's possible to select a Clickable false object via other means, such as the solar system browser or the Find object dialog. A 'Selectable' property which would prevent selection by any means at all is under consideration.
--Chris
Clickable false
to an ssc object definition will prevent it from being selected when clicked. As far as click selection is concerned, the object behaves as it if isn't there at all: it's possible to click other objects behind the a clickable false object. This is strange behavior if the clickable false is applied to an opaque object, but presumably this is not how add-on creators will use it
There is currently no Clickable property for stars or deep sky objects. For stars, I can't see that it would ever be necessary. For deep sky objects, maybe. This change also doesn't Chuft-Captain's 'translucent' option at the moment.
It's possible to select a Clickable false object via other means, such as the solar system browser or the Find object dialog. A 'Selectable' property which would prevent selection by any means at all is under consideration.
--Chris