the-butterfly-effect / tbe

The Butterfly Effect, a realistic physics simulation game
http://the-butterfly-effect.org
GNU General Public License v2.0
96 stars 13 forks source link

Incorrect scale of some object images #344

Open Wuzzy2 opened 4 years ago

Wuzzy2 commented 4 years ago

Some objects have a weird scale and appear distorted. Those appear either larger or smaller or they are oddly stretched.

This can be sen in various levels.

Afftected objects: VolleyBall, Goal, LeftRamp, RightRamp, Scenery (grass, borwn pit), ToyChest, IBeam, possibly others.

Version: f56fb9d37cc15dde7b19f914637afaa3221e46d8 in master branch. This is after the revert to the old UI.

amarsman commented 4 years ago

Let's use the old-ui and new-ui labels from now on

Wuzzy2 commented 4 years ago

More affected objects: BirchBar, ColaCrate.

Wuzzy2 commented 4 years ago

It seems the game forcefully attempts to preserve the aspect ratio of the orginal SVG file. Because the aspect ratio of all images is the same as the original image.

Maybe this is related to a Qt update …

Wuzzy2 commented 4 years ago

OK, this really seems to be related to a Qt update. On my system, it now affects the stable version 0.9.3.1 as well. But I know for certain this version did NOT have this problem in the past. So very likely it changed after I updated Qt …

Time to dig into the Qt docs, I guess …