Skip to content

Commit

Permalink
Fixed default values of QAngle.get_angle_vectors being NULL rather th…
Browse files Browse the repository at this point in the history
…an None (#309).
  • Loading branch information
jordanbriere committed Mar 22, 2020
1 parent 2ce26a6 commit 29e3866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/modules/mathlib/mathlib_wrap.cpp
Expand Up @@ -337,7 +337,7 @@ void export_qangle(scope _mathlib)
.def("get_angle_vectors",
GET_FUNCTION(void, AngleVectors, const QAngle &, Vector *, Vector *, Vector *),
"Euler QAngle -> Basis Vectors. Each vector is optional",
(arg("forward")=NULL, arg("right")=NULL, arg("up")=NULL)
(arg("forward")=object(), arg("right")=object(), arg("up")=object())
)

.def("__getitem__",
Expand Down

0 comments on commit 29e3866

Please sign in to comment.