[Bf-committers] Python access for UV mapping

Campbell Barton ideasman42 at gmail.com
Wed Sep 15 06:35:19 CEST 2010

re: rna wrapping

You mentioned RNA functions being trouble so I was thinking you were
trying to get a new array with the coords, I don't think this is
possible with the current api, to add support for this we need to
manage who owns the memory, support for strings has been added not
AFAIK float arrays don't work yet.
as long as you don't do this I think what converting from UVs is
relatively easy, could look something like this.

  mesh.uv_textures.active.from_mtex(object, mtex)

On Tue, Sep 14, 2010 at 6:30 AM, Dan Eicher <dan at trollwerks.org> wrote:
> Couldn't you just toss the function declaration into RE_shader_ex.h with a
> pretty name like void RE_do_2d_mapping()?
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

- Campbell

More information about the Bf-committers mailing list