Quat freezes when passed a list as an argument
Bug #1033260 reported by
Josh Enes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
David Rose |
Bug Description
If Quat is given a list as the construction argument it will freeze the program. The correct behaviour should be to generate an error.
For example with Point3:
Point3([1, 2, 3])
Traceback (most recent call last):
File "test.py", line 3, in <module>
p = Point3([1, 2, 3])
TypeError: Arguments must match one of:
LPoint3f()
LPoint3f(const LVecBase3f copy)
LPoint3f(float fill_value)
LPoint3f(float x, float y, float z)
But with Quat:
Quat([1, 2, 3, 4])
# program is frozen (infinite loop?)
Changed in panda3d: | |
status: | New → Fix Committed |
assignee: | nobody → David Rose (droklaunchpad) |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.