[Bf-blender-cvs] CVS commit: blender/source/blender/src interface.c

Martin Poirier theeth at yahoo.com
Sun Dec 3 19:59:14 CET 2006


theeth (Martin Poirier) 2006/12/03 19:59:14 CET

  Modified files:
    blender/source/blender/src interface.c 
  
  Log:
  === Interface ===
  
  Based on patch #5140 by Juho Vepsäläinen, this commit removes the requirement to type # at the start when you want to use Python expression evaluation when typing a value in a button.
  
  In a nutshell, that means you can now type 3 + 5 in a numbut and see it change to 8.
  
  Word of warning: The normal Python operator logic applies, so if you type in 1 / 3, you'll get 0 and not 0.333. There's no going around that.
  
  Revision  Changes    Path
  1.249     +6 -7      blender/source/blender/src/interface.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/interface.c.diff?r1=1.248&r2=1.249&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list