Blender Git Commit Log

Git Commits -> Revision 48ad67e

Revision 48ad67e by Julian Eisel (master)
June 29, 2018, 19:29 (GMT)
Cleanup: Add/use function to get area width/height from area vertices

This used to be rather cryptic and it was easy to forget the `+ 1` which in fact
is needed to get the correct width/height, see e626998a262ebe4f. This should
also fix some minor off-by-one errors.

Commit Details:

Full Hash: 48ad67ef8201f8fcd5efdf748c5fea86e2c61d7d
Parent Commit: ac2e10d
Lines Changed: +28, -17

4 Modified Paths:

/source/blender/editors/screen/screen_draw.c (+4, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+19, -10) (Diff)
/source/blender/editors/screen/screen_intern.h (+2, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021