Bounding rect calculated in ImagerySection::getBoundingRect is incorrect

Create issue
Issue #841 resolved
Paul Turner created an issue

Name and documentation for function suggest that this will return an actual bounding rectangle, however the returned Rect will always have incorrect left / top unless the leftmost and topmost content of the ImagerySection are <= 0.

Reproducibility: always

Additional information: See: cegui/src/falagard/CEGUIFalImagerySection.cpp:185 cegui/src/falagard/CEGUIFalImagerySection.cpp:224

and original forum topic: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=3&t=6137

Comments (1)

  1. Paul Turner reporter

    changeset: 3388:38310f14bd5d branch: v0-7 parent: 3348:b3694ad80ae1 user: Paul Turner <paul@cegui.org.uk> date: Tue Jun 19 15:46:54 2012 +0100 summary: FIX: ImagerySection bounds calculations were incorrectly starting from zero.

  2. Log in to comment