use UI_view2d_getscale() to get the scale for image cursor drawing and ED_mask_pixels...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 14 Dec 2012 16:51:02 +0000 (16:51 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 14 Dec 2012 16:51:02 +0000 (16:51 +0000)
commitda7ce6a3ccdee61dacd64de3df0e041edef7a321
tree097d24ecfe88108aaaeda9b3f2da6ff653caf400
parentbb26d80ad88236800607bed0b0a72a5d14f67bb9
use UI_view2d_getscale() to get the scale for image cursor drawing and ED_mask_pixelspace_factor(). - was getting the image width/height when its not needed before.
source/blender/editors/include/UI_view2d.h
source/blender/editors/interface/view2d.c
source/blender/editors/mask/mask_edit.c
source/blender/editors/uvedit/uvedit_draw.c