Dmitrijs, I reported this problem in Blender developers ML and it was fiexed in trunk r51976, so your patch can be dropped in the future release (2.65+).
http://lists.blender.org/pipermail/bf-committers/2012-November/038070.html http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51976
Anyway, thanks for the fix!
Dmitrijs, I reported this problem in Blender developers ML and it was fiexed in trunk r51976, so your patch can be dropped in the future release (2.65+).
http:// lists.blender. org/pipermail/ bf-committers/ 2012-November/ 038070. html projects. blender. org/scm/ viewvc. php?view= rev&root= bf-blender& revision= 51976
http://
Anyway, thanks for the fix!