Internal string doesn't get resized
Closed, ArchivedPublic

Description

Group: current SVN version
Resolution: Fixed
Category: Python

If you do
myStringInput = Draw.Create("a string")
and then later
myStringInput.val = "some really big string"
the value will get cut short to "some really big s".
Note that it's exactly 16 characters, the largest power
of two greater than the length of the original string.
Apparently, setting the val doesn't trigger python to
reallocate the internal string that's used to hold the
value.

[ Win32 / MSVC6.0 / Blender 2.32/CVS ]

baxissimo (Bill Baxter) set Type to Bug.Via Old WorldFeb 11 2004, 3:29 AM
stiv (Stephen Swaney) closed this task as "Archived".Via Old WorldMar 6 2004, 11:29 AM
None (Nobody) added a comment.Via Old WorldFeb 11 2004, 3:29 AM

This task was automatically closed as archived as part of migration, because the project or tracker this task belonged to is no longer active.

Add Comment