[Marble-devel] Change the zoom view when the ShowSunInZenith == true
marbledeveloper at gmail.com
Wed May 16 08:20:25 UTC 2012
I have solved the problem. I have changed the values for zoom from
bluemarble.dgml and now works properly:
<minimum> 700 </minimum>
<maximum> 2400 </maximum>
<!-- describes whether you can zoom trough the levels
<discrete> false </discrete>
My new zoom improved code: http://pastebin.com/3cLuhUWg
2012/5/16 marble_developer marble_developer <marbledeveloper at gmail.com>
> Hi all,
> I have this code to change the zoom view when the ShowSunInZenith == true:
> The wheelEvent() method is called each time that the wheel is actioned and
> the value for zoom is updated but the zoom isn't changed visually.
> Initially zoom == 700 and it changes to 701, 702, 703... or 699, 698,
> 687... when the wheel is actioned.
> What's wrong?
> Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Marble-devel