Re: [Bf-committers] replacing an EditFace vert question

2011-01-14 Thread Ton Roosendaal
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   t...@blender.orgwww.blender.org
Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands

On 11 Jan, 2011, at 15:04, ra...@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@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] replacing an EditFace vert question

2011-01-11 Thread raulf
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@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers