[Bf-python] UV problem
Bill Baxter
baxter at cs.unc.edu
Tue Feb 10 17:50:23 CET 2004
It sounds reminiscent of a problem I was having in a script. 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.
So it sounds like the same kind of thing. Maybe there are lots more of
these little initialization bugs lurking.
--bb
Manuel Bastioni wrote:
> I've done a script to import-export UV. It's thinked for MakeHuman
> auto UVmapping, but I've released a "stand-alone" version to test it
> separately before MH integration.
>
> I've a strange bug, not very dangeorus (I think, hope), but annoying.
> After some days, and a lot of test, an user
> reply mr this:
>
> "I don't know whats causing that bug im afraid. But it sounds like
> internal initilisation that needs to occur within blender, which is
> performed when you enter face mode. If thats the case, then it
> probably won't have anything to do with the script, and nothing you
> change in the script will correct it."
>
> If you want help me, please, take a look here:
> http://www.elysiun.com/forum/viewtopic.php?p=189912#189912
>
> and tell me any idea...
>
> Ciao,
>
> Manuel
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list