[Bf-committers] CVS commit: blender/source/blender/src interface.c
Chris Want
bf-committers@blender.org
Sat, 15 Feb 2003 05:18:26 +0100 (CET)
hos (Chris Want) 2003/02/15 05:18:25 CET
Modified files:
blender/source/blender/src interface.c
Log:
gcc 3.2.1 seems to have problems casting a double like 32772.0 to
a short, so we cast to an int first, then to a short when a button that
modifies a short value is pressed. (Allieviates the bug where the
Unified Renderer button modifies the values of a bunch of other buttons).
Revision Changes Path
1.6 +10 -3 blender/source/blender/src/interface.c