The International Simutrans Forum

 

Author Topic: sliced map view range not working  (Read 1273 times)

0 Members and 1 Guest are viewing this topic.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
sliced map view range not working
« on: March 09, 2018, 06:33:49 AM »
There is a bug regarding range selection of sliced map view level. It appears only in certain conditions.

Steps to reproduce:

1. Create a new map
2. Enter sliced map view [Ctrl-U] and use the keys to change level (Home/End in pak128, or +/- in pak64)
3. Go to minimum level then rise again

=> You cannot raise above level 0 !

There is no problem when map is reloaded, or when using arrows in 'Display Setting' dialog.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4426
  • Languages: EN, DE, AT
Re: sliced map view range not working
« Reply #1 on: March 18, 2018, 05:18:28 PM »
Then the maximal height of tiles in your map is zero, and it would not make sense to increase the slice level.
Parsley, sage, rosemary, and maggikraut.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5135
  • Languages: EN, NO
Re: sliced map view range not working
« Reply #2 on: March 18, 2018, 05:55:57 PM »
Then the maximal height of tiles in your map is zero, and it would not make sense to increase the slice level.

But uci reported two different behaviors. One of them has to be wrong, or at least confusing.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: sliced map view range not working
« Reply #3 on: March 18, 2018, 06:45:36 PM »
Let me reformulate then.
The bug is that you cannot raise the slice map level on newly created maps using the keys. You can only lower it. Is not related with maximal height of tiles.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4426
  • Languages: EN, DE, AT
Re: sliced map view range not working
« Reply #4 on: March 18, 2018, 07:00:47 PM »
Should be fixed in r8407. Strange enough, it worked as I did my first quick test. Thanks for reporting.
Parsley, sage, rosemary, and maggikraut.

Offline uci

  • *
  • Posts: 118
  • Without owner
  • Languages: EN, RO
Re: sliced map view range not working
« Reply #5 on: March 19, 2018, 06:09:37 PM »
Fixed.

I noticed that lowest slice view level equals water level or the deepest level you dig underwater, which is a nice feature of your fix. Thanks.  :)