- Scripts:

Campbell Barton updated his Wavefront OBJ scripts and Ben Omari updated his DirectX 7 and 8 ones (thanks both).  The other listed scripts had minor updates to accomodate the menu changes.
- Scripts in menus:
  renamed Tools to Object, Generators to Add, and Modifiers to Mesh (Metaball, Curve, Surface can be added later), to integrate better in the interface.
- Fixed a bug in Blender.sys.makename: last letter of file extension was being cut out.
This commit is contained in:
2004-06-21 12:01:23 +00:00
parent 625e7fb12c
commit a41759cb8b
10 changed files with 426 additions and 262 deletions

View File

@@ -291,7 +291,7 @@ static PyObject *M_sys_makename(PyObject *self, PyObject *args, PyObject *kw)
if (dot) n = dot - basename;
else n = strlen(basename);
BLI_strncpy(basename + n, ext, lenext);
BLI_strncpy(basename + n, ext, lenext + 1);
basename[n+lenext] = '\0';
}
}