Internal string doesn't get resized
Closed, ArchivedPublic


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

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


Stephen Swaney (stiv) closed this task as "Archived".Mar 6 2004, 11: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.