fix redrawing of canvas with an optimized build
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 23 Dec 2013 20:35:49 +0000 (15:35 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 23 Dec 2013 20:35:49 +0000 (15:35 -0500)
commit84f55440a3c6317dd2ab5d7e3d638016609e4d03
tree2329f57523432a698f99927a2f070555fd31fe20
parente1bca03857070ba390bba729933c2d72ad5169fd
parentdc7878760da040ad74b077318d2e9868d427199a
fix redrawing of canvas with an optimized build

Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).
gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui_options.cc
gtk2_ardour/editor.h
gtk2_ardour/editor_videotimeline.cc
gtk2_ardour/level_meter.cc
gtk2_ardour/public_editor.h
gtk2_ardour/rc_option_editor.cc
gtk2_ardour/wscript
libs/canvas/canvas.cc