I use debug a lot, and one thing that bugs me is that when I go to sample a tile to make changes or copy it somewhere else, I always have to adjust the mass to the correct value. For example, if I select a tile with 1000 kg steam, the select tool will put 1013 kg of steam on the paint tool, which I then would have to correct.
According to the discussion on the thread below, this is because the Sample tool is using an adjustment to the Grid.Pressure value rather than the Grid.mass value.
This is where the error is in the code. It should either be (Grid.Pressure[cell] / 101.3f).ToString(); or Grid.mass[cell].ToString(); I'd go with Grid.mass unless there is a reason you can't.
Grid.Pressure[cell] is defined as "Grid.mass[cell] * 101.3f;", as seen in the image below.
(Thank you @SGT_Imalas for the code snippets.)
It would be great if this could be fixed so I can stop adjusting mass values when using debug.
- Open debug mode.
- Select the Sample tool
- Select a tile
- Note that the mass of the sample is 1.3% larger than the actual mass of the tile.
-
1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now