Patch: Improves GeoMipTerrain warning message

Bug #390126 reported by David McCabe
6
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.

Revision history for this message
David McCabe (davemccabe) wrote :
Revision history for this message
rdb (rdb) wrote :

Thank you - I've happily applied the patch. It will be picked up for the next release.

Changed in panda3d:
assignee: nobody → pro-rsoft (niertie1)
importance: Undecided → Wishlist
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
milestone: none → 1.7.0
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.