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

jason.hays22 at gmail.com jason.hays22 at gmail.com
Sat Sep 17 21:17:37 CEST 2011


http://codereview.appspot.com/5021044/diff/1/source/blender/makesrna/intern/rna_object.c
File source/blender/makesrna/intern/rna_object.c (right):

http://codereview.appspot.com/5021044/diff/1/source/blender/makesrna/intern/rna_object.c#newcode224
source/blender/makesrna/intern/rna_object.c:224: void
rna_update_active_object(Main *bmain, Scene *scene, PointerRNA *ptr)
On 2011/09/15 12:43:04, ideasman42 wrote:
> On 2011/09/15 07:57:10, nazgul wrote:
> > I've seen this function is used only once in rna_scene. Is it really
so common
> > so it should be public?

> Its been removed now.
Hey, I had a reason for this.

RNA_def_property_update(prop, NC_GEOM|ND_DATA, 0);
didn't work well enough in rna_scene because when Multi-Paint is
activated/deactivated, the colors will not change right away when
multiple bones are selected.
The same thing occurs with auto normalize (while multi-paint is active)

What should I do as an alternative?

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


More information about the Bf-codereview mailing list