Code cleanup: Minor function capitalization fix

Original patch by Joseph Mansfield to the Blender repository.