Cleanup rna_Brush_direction_itemf()
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 16 May 2016 13:54:18 +0000 (15:54 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 16 May 2016 13:54:18 +0000 (15:54 +0200)
commit460d94449348647b20fb0d69f60ecc0e6cc36370
treecea4d45ed92cef1b26b00a7fd5563d3552152cc5
parent22d53e558d4c3204ecfe5a0775d9900f4afcb38f
Cleanup rna_Brush_direction_itemf()

Some variants of gcc compilation were reporting 'control reaching end of non-void function' error
in this switch/case maze. Either use break everywhere or not at all (which is simpler, since we
only always return anyway...).
source/blender/makesrna/intern/rna_brush.c