[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Mesh.c

bjornmose at gmx.net bjornmose at gmx.net
Tue May 9 13:42:31 CEST 2006


Now it crashes all the times here..

hmm let's see 

 G.obedit = 0;
 exit_editmode( 1 ); 

was pretty pointless but mostly harmless  
since

void exit_editmode(int freedata)
{
...
	if(G.obedit==NULL) return;
...

didn't do anything
but


G.obedit = NULL;
load_editMesh(); 

.........
void load_editMesh(void)
{
	EditMesh *em = G.editMesh;
	Mesh *me= G.obedit->data; <<<<<<< is bound to crash here 
.........


> --- Ursprüngliche Nachricht ---
> Von: Ken Hughes <khughes at pacific.edu>
> An: bf-blender-cvs at blender.org
> Betreff: [Bf-blender-cvs] CVS commit:
> blender/source/blender/python/api2_2x	Mesh.c
> Datum: Mon,  8 May 2006 07:37:00 +0200 (CEST)
> 
> khughes (Ken Hughes) 2006/05/08 07:37:00 CEST
> 
>   Modified files:
>     blender/source/blender/python/api2_2x Mesh.c 
>   
>   Log:
>   ===Python API===
>   Bugfix: replaced calls to enter_editmode() and exit_editmode(), which
> would
>   cause segfaults on scripts run in background mode (discovered by NichG).
>   
>   Revision  Changes    Path
>   1.47      +27 -17    blender/source/blender/python/api2_2x/Mesh.c
>    
>
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Mesh.c.diff?r1=1.46&r2=1.47&cvsroot=bf-blender>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
> 

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner


More information about the Bf-committers mailing list