[Bf-python] loose ends in Curve
antont at kyperjokki.fi
antont at kyperjokki.fi
Sun Oct 9 14:30:23 CEST 2005
hi,
i guess many of us are already flooded with things to do with the API, but i
need to add these missing pieces / bugs to fix in the Curve module to the
list .. for things needed urgently by Orange. if no one else tackles these
before, i'll try myself .. perhaps starting this evening or tomorrow. will
first work on the actual script, and there's the meeting soon too, so am not
going to look into these now yet.
missing:
- way to set a curve to 3d. trivial i hope..
broken:
- setting ResolU: works in the sense that sets the value correctly, but does
not do the recalculation to actually change the res. must press the 'Set'
button in GUI to get the effect. hopefully just adding the right call to some
function in the setter.. Curve.update() does not do it.
- the newly created curves don't show! the only way i've found to get them
appear is to go to the outliner, expand the curve object, and click on the
curvedata in it .. then it appears immediately. i just realized that this is
recent, 'cause did not have the problem two weeks ago. i suppose some
internal change has caused this .. will bug Ton
also, i still get occasional segfaults (with the BezTriple module?): after
creating new curves, sometimes Blender crash when delete them in the GUI.
this is one traceback i got:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223220544 (LWP 8871)]
unlink_object (ob=0x894690c) at source/blender/blenkernel/intern/object.c:268
268 if(cu->bevobj==ob) {
(gdb) bt
#0 unlink_object (ob=0x894690c)
at source/blender/blenkernel/intern/object.c:268
#1 0x08366eab in free_libblock_us (lb=0x8ab8394, idv=0x894690c)
at source/blender/blenkernel/intern/library.c:488
#2 0x0811744e in free_and_unlink_base (base=0x89733ec)
at source/blender/src/editobject.c:234
#3 0x081174e6 in delete_obj (ok=1) at source/blender/src/editobject.c:254
#4 0x08236284 in delete_context_selected () at source/blender/src/edit.c:1548
#5 0x081a6d76 in winqreadview3dspace (sa=0x1821, spacedata=0x8abd444,
evt=0x0)
at source/blender/src/space.c:1753
#6 0x081b0557 in scrarea_do_winhandle (area=0x8abd1ac, evt=0x2)
at source/blender/src/spacetypes.c:144
#7 0x08121dc2 in scrarea_dispatch_events (sa=0x8abd1ac)
at source/blender/src/editscreen.c:564
#8 0x08122f24 in screen_dispatch_events ()
at source/blender/src/editscreen.c:1150
#9 0x081232e5 in screenmain () at source/blender/src/editscreen.c:1401
#10 0x080f6a16 in main (argc=3, argv=0xbffff7c4)
at source/creator/creator.c:584
.. does that say that bevob is not correctly set or what? i haven't done
anything with bevobs in those sessions, and the fact that the crash is pretty
random is strange. that part of api is handled by Curve, and not BezTriple,
so perhaps this is not BezTriple related like i first thought.
~Toni
More information about the Bf-python
mailing list