[Bf-committers] New with Blender: two question

Martin Poirier theeth at yahoo.com
Fri Sep 15 12:52:27 CEST 2006



--- joaquin bervel <joaquin.bervel at gmail.com> wrote:

> The other question is a problem, I am working in
> other function, a solidify,
> but when I create new faces, I call :
> 
>  initTransform(TFM_SHRINKFATTEN, CTX_NONE);
> Transform();
> 
> it does not work, but if i replace it by
> 
>  initTransform(TFM_TRANSLATE or ...SCALE or
> ....ROTATE, CTX_NONE);
> Transform();
> 
> it works.

Shrink/Fatten relies on vertex normals to specify the
direction of movement. More then likely, the vertice
you are creating don't have normals yet. You'll have
to explicitly create them (there's a function to do
that but I don't remember the name off the top of my
head).

Hope that helps,
Martin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Bf-committers mailing list