Feature request : unclickable objects

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Feature request : unclickable objects

Post #1by Cham » 24.07.2007, 18:21

There's a very important option that addons creators need in the SSC declarations : an unclickable command.

Suppose I want to show some object in Celestia (a 3D label, say), but don't want the user to be able to select it by clicking on it (or else, it could be very obstrusive). By default, all objects defined in an SSC file are clickable. For an unclickable object, the command line to add to the SSC could be

Code: Select all

Clickable false


That way, I could solve lots of technical problems in addons creation and it should make life a lot easier for the users.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 3 months
Location: NJ USA

Post #2by LordFerret » 26.07.2007, 05:10

I agree with that, very useful. :D A good example I see would be with the Smaller_sun addon by Runar Thorvaldsen, which I find very beautiful - but difficult to work with because it prevents right-clicking on Sol itself (to access the objects list). :(

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #3by rthorvald » 27.07.2007, 01:16

LordFerret,
That particular problem will be fixed in the next version, it is fixable.

But:
i agree that an unclickable declaration would be most useful. Particularily if we also got an "invisible" orbit color to go with it - we already have an invisible object type, but in the cases Cham refers to, the object needs to be visible but inaccessible.

- rthorvald
Image


Return to “Development”