fix for Blender > 2.63