[Bf-codereview] Weight Paint (Radish Branch 2011) (issue 5021044)

g.ulairi at gmail.com g.ulairi at gmail.com
Sun Sep 18 10:59:50 CEST 2011


http://codereview.appspot.com/5021044/diff/1/source/blender/editors/object/object_vgroup.c
File source/blender/editors/object/object_vgroup.c (right):

http://codereview.appspot.com/5021044/diff/1/source/blender/editors/object/object_vgroup.c#newcode789
source/blender/editors/object/object_vgroup.c:789: static int*
getSurroundingVerts(Mesh *me, int vert, int *count) {
On 2011/09/18 01:14:46, jason.hays22 wrote:
> On 2011/09/15 07:57:10, nazgul wrote:
> > Looks like count wouldn't be set in several cases (if found is zero
to the end
> > of this funciton)

> How?  Unless it is a single point in space, it'll have vertices
surrounding it..
>   Do you have an example?

Well, for example mesh as point cloud. Not sure it's really issue. That
message was just more like a warning which better be checked -- depends
on how result of function is used.

http://codereview.appspot.com/5021044/


More information about the Bf-codereview mailing list