x3dom / apps-modeling

Publicly Available Applications
Other
3 stars 3 forks source link

Lock transformation of scene if a view such as top, bottom etc is chosen #63

Closed menglert11487 closed 11 years ago

mlimper commented 11 years ago

Sorry, what do you mean with "lock"? I don't understand - AFAIK there is already a constraint to translate only in directions perdendicular to the viewing direction in that case.

menglert11487 commented 11 years ago

I mean that if a view point like Show top is chosen the scene can not rotate anymore

yjung commented 11 years ago

Hmm, don't know if this is really useful or necessary.

mlimper commented 11 years ago

Okay, this might be really disturbing if one left-clicks the background (accidentally) and the scene gets rotated away from the defined view (top-view, for instance). Especially because one is unable to return to the desired view in that case (clicking the top-view button again will have no effect).

mlimper commented 11 years ago

Okay, this will be implemented, also to avoid the behaviour described in #66

yjung commented 11 years ago

Can be done via the "none" navigation type - or simply ...runtime.noNav()

mlimper commented 11 years ago

Great, thanks!

mlimper commented 11 years ago

First I thought this works perfectly, but if one switches to an ortho view, drags an object around and clicks again on the background, the view rotates again. Is this a bug? (See state after commit f98d5ccc5305f0d002c3f0140848cdbeb6fc59f3)

yjung commented 11 years ago

yeah, looks like a bug

yjung commented 11 years ago

...uhh, I'll directly fix it, in the moveable object after moving state is set back to examine, have to remember state

yjung commented 11 years ago

fixed Moveable

mlimper commented 11 years ago

thanks!