Fixed calls to enums
Merge pull request #8 from Mike3D/patch-9

Fixed calls to enums