Submitted by: Thomas Knight (epat)

Parts committed:
1) Fixed a few misspellings in some error strings.
2) Fixed a (theoretical) bug with pyconstraints where a text object could be deleted from python but would remain linked
to the constraint it was assigned to - causing slight UI usage discontinuities!

Not committed yet:
3) Particle system bugfix in this patch has not been committed. Could jahka or brecht check this.
This commit is contained in:
2008-02-24 06:38:42 +00:00
parent c8569c934a
commit cd934aa1a8
5 changed files with 46 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: Text.c 11123 2007-06-29 08:59:26Z campbellbarton $
* $Id$
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -289,6 +289,7 @@ static PyObject *M_Text_unlink( PyObject * self, PyObject * args )
"this text was already unlinked!" );
BPY_clear_bad_scriptlinks( text );
BPY_free_pyconstraint_links( text );
free_text_controllers( text );
unlink_text( text );