Blender Git Loki

Git Commits -> Revision c94eefd

Revision c94eefd by Nicholas Bishop (master)
January 16, 2011, 18:33 (GMT)
Fixed bug [#25649] Image editor paint icon missing until enter weight
paint

A couple underlying issues:

* Paint icon was looking only at the object mode to determine what the
"current" mode is, but that gave problems when the object mode was
anything other than texpaint, but 2D image paint was turned on. Fix
was to also look at what space is being drawn, and only if it's in
the 3D view does it look at the ob mode.

* The brushes lists weren't getting filtered correctly in the same
case where 2D image paint was on but a different object mode is
enabled. Fixed by changing the brush rna poll to look at the paint
source, rather than the object mode.

Commit Details:

Full Hash: c94eefd52b4174be3b98b3e921546a7a8486d691
SVN Revision: 34355
Parent Commit: 6ef1f23
Lines Changed: +28, -27

3 Modified Paths:

/source/blender/editors/interface/interface_icons.c (+12, -12) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+0, -3) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+16, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021