Quat freezes when passed a list as an argument

Bug #1033260 reported by Josh Enes
6
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)
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.