settangentspaceflags fix

settangentspaceflags was passed with wrong patams