Just a suggestion in the new 2.5 release could something be done about the severe limit on material name like:make it like 128 charaters
it was said that 2.5x release has much cleaner code and some restriction can be lifted..
after checking some source code, I don't think so (DNA_ID.h) :
| Code: |
#define MAX_ID_NAME 24
/* There's a nasty circular dependency here.... void* to the rescue! I
* really wonder why this is needed. */
typedef struct ID {
void *next, *prev;
struct ID *newid;
struct Library *lib;
char name[24];
short us;
/**
* LIB_... flags report on status of the datablock this ID belongs
* to.
*/
short flag;
int icon_id;
IDProperty *properties;
} ID; |
why to have MAX_ID_NAME then.. and it looks like this all over the code, hardcoded name lengths to [24] or [32].
Is there someone who has some general knowledge about Blender code and clean it up? It would be much easier to set material name limit to say 64 or 128.
Longer names support was added back on January 11. It should be in the current 2.62 release.
2.63 has a general limit to 64 bytes / 63 characters, long enough imo:
bpy.data.objects['abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.']
_________________
I'm sitting, waiting, wishing, building Blender in superstition...