parametrics(warning): Cannot make a NURBS from the indicated curve: segfaults.

Bug #383969 reported by Treeform
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Low
Treeform

Bug Description

parametrics(warning): Cannot make a NURBS from the indicated curve
after this message the game segfaults

from pandac.PandaModules import *
cf = CurveFitter()
cf.addXyz(0,Vec3(0,0,0))
nurbs = cf.makeNurbs() # can't make nerbs with one point
pos = Vec3()
nurbs.evaluateXyz(0,pos) # now we will crash trying to eval it
print " ^ segfault at that line"

windows 32, panda 1.6.2

Revision history for this message
Treeform (starplant) wrote :

was not checking for default_curve is null.

Changed in panda3d:
assignee: nobody → Treeform (starplant)
status: New → Fix Committed
importance: Undecided → Low
milestone: none → 1.7.0
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.