[Bf-python] Null terminated strings

Willian Padovani Germano wgermano at ig.com.br
Tue Feb 17 06:18:00 CET 2004


Hi Bob,

----- Original Message -----
From: "Bob Holcomb" <bob_holcomb at hotmail.com>
To: <bf-python at blender.org>
Sent: Monday, February 16, 2004 6:16 AM
Subject: [Bf-python] Null terminated strings


> I get this condition when I am importing 3ds files to blender.
> 3ds (and md2, md3) all store the strings with a null character
> at the end.  I have found that by rewritting my import code to
> remove the offending character, I have made my problems go
> away.  This issue probably didn't need to be here on this forum.

Ah, ok, thanks for the info.  In such specific cases, it's probably
better that you clean the strings before passing them to bpython
methods, like you did.  And feel free to disagree / post here about
these things, this is the right place.

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list