Patch #8344:
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:
@@ -621,7 +621,7 @@ PyObject *LibBlockSeq_unlink(BPy_LibBlockSeq *self, PyObject * value)
|
||||
|
||||
if (!data)
|
||||
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
|
||||
"This Group has been removed alredy" );
|
||||
"This Group has been removed already" );
|
||||
|
||||
/* Run the removal code */
|
||||
free_group(data);
|
||||
@@ -642,10 +642,11 @@ PyObject *LibBlockSeq_unlink(BPy_LibBlockSeq *self, PyObject * value)
|
||||
|
||||
if (!data)
|
||||
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
|
||||
"This Group has been removed alredy" );
|
||||
"This Group has been removed already" );
|
||||
|
||||
/* Run the removal code */
|
||||
BPY_clear_bad_scriptlinks( data );
|
||||
BPY_free_pyconstraint_links( data );
|
||||
free_text_controllers( data );
|
||||
unlink_text( data );
|
||||
free_libblock( &G.main->text, data );
|
||||
|
||||
Reference in New Issue
Block a user