Found a crasher in editing text; load file with text, enter editmode for
it and reload. I could fix the crash quickly, but it still gives not freed memory errors. More important; this code is VERY BAD! Not sure who added all this *goto* stuff, but it's not acceptable code that way... (kernel, font.c) The hacks in editfont.c are very bad too. I really hope Alexander and/or Mika will clean up before we officially release!
This commit is contained in:
@@ -701,7 +701,9 @@ struct chartrans *text_to_curve(Object *ob, int mode)
|
||||
ascii = mem[i];
|
||||
info = &(cu->strinfo[i]);
|
||||
vfont = which_vfont(cu, info);
|
||||
|
||||
|
||||
if(vfont==NULL) break;
|
||||
|
||||
// Find the character
|
||||
while(che)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user