Compatibility code for 'Word spacing' value, old files will now load

with Word spacing set to 1.0 instead of 0.0.
This commit is contained in:
Alexander Ewering
2005-06-17 23:05:59 +00:00
parent ad8ff9762b
commit d422964c31

View File

@@ -1945,6 +1945,7 @@ static void direct_link_curve(FileData *fd, Curve *cu)
cu->tb = tb;
cu->tb[0].w = cu->linewidth;
}
if (cu->wordspace == 0.0) cu->wordspace = 1.0;
}
cu->bev.first=cu->bev.last= 0;