[Bf-committers] replacing an EditFace vert question
Ton Roosendaal
ton at blender.org
Fri Jan 14 10:44:35 CET 2011
Hi,
The rule is that the edges in a face should always exist; replacing a
vertex in a face therefore also means to check on valid edges for it.
The function call that adds faces does this for you; so a delete-face
and add-face might work well, although it's possible you end up with
loose edges then...
Just check the code for tools that manage faces? It's quite down-to-
earth old code :)
-Ton-
------------------------------------------------------------------------
Ton Roosendaal Blender Foundation ton at blender.org www.blender.org
Blender Institute Entrepotdok 57A 1018AD Amsterdam The Netherlands
On 11 Jan, 2011, at 15:04, raulf at info.upr.edu.cu wrote:
> Hi
>
> if I need to replace an editface's editvert with some other editvert
> should I need to directly replace in the structure and down edges
> structure too? or is better to create a new face with the new vert and
> delete the old one?
> also what would be the correct functions to use and delete new
> editverts
> and faces? (addvertlist, addedgelist and addfacelist?)
>
> thanks in advance
>
>
>
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list