Patch: Improves GeoMipTerrain warning message
Bug #390126 reported by
David McCabe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Wishlist
|
rdb |
Bug Description
If you give GeoMipTerrain a heightmap whose dimensions are not one greater than powers of two, it will issue a warning with this form:
:grutil(warning): Rescaling heightfield image heightfield.png to 65 by 65 pixels
where 65x65 are the dimensions of the new, rescaled image.
If one is tired, the word "by" could be read as the difference between the original and rescaled image sizes, leading to confusion. I have reworded this message to be helpful and unambiguous:
:grutil(warning): Rescaling heightfield image heightfield.png from 55x50 to 65x65 pixels.
where 55x50 were the original image dimensions, and 65x65 are the new dimensions.
Changed in panda3d: | |
milestone: | none → 1.7.0 |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you - I've happily applied the patch. It will be picked up for the next release.