[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern key.c
Ton Roosendaal
ton at blender.org
Tue Dec 13 16:07:21 CET 2005
ton (Ton Roosendaal) 2005/12/13 16:07:21 CET
Modified files:
blender/source/blender/blenkernel/intern key.c
Log:
Bugfix #3580
Apparently python allows to create Key blocks without proper *from pointer
back to the owner of the Key. The Key unfortunately wasn't mean to be a
dynamic block linkable to any Mesh...
This patch sets the from pointer on any call to do_mesh_key, which is safe
to do anyway. I made a note to get rid of that convention once, but at
least now we got non-crashing blenders. :)
(In bugreport noted that we need to check Python code for it too!)
Revision Changes Path
1.19 +4 -1 blender/source/blender/blenkernel/intern/key.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/key.c.diff?r1=1.18&r2=1.19&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list