fix compiler error
This commit is contained in:
parent
9c30155c47
commit
966c4eedc4
|
@ -357,7 +357,7 @@ void BKE_brush_channelset_ui_init(struct Brush *brush, int tool);
|
|||
void BKE_brush_channelset_check_radius(BrushChannelSet *chset);
|
||||
|
||||
const char *BKE_brush_channel_category_get(BrushChannel *ch);
|
||||
const char *BKE_brush_channel_category_set(BrushChannel *ch, const char *str);
|
||||
void BKE_brush_channel_category_set(BrushChannel *ch, const char *str);
|
||||
|
||||
/*
|
||||
set up static type checker for BRUSHSET_XXX macros
|
||||
|
|
|
@ -1848,7 +1848,7 @@ const char *BKE_brush_channel_category_get(BrushChannel *ch)
|
|||
return ch->category ? ch->category : ch->def->category;
|
||||
}
|
||||
|
||||
const char *BKE_brush_channel_category_set(BrushChannel *ch, const char *str)
|
||||
void BKE_brush_channel_category_set(BrushChannel *ch, const char *str)
|
||||
{
|
||||
MEM_SAFE_FREE(ch->category);
|
||||
|
||||
|
|
Loading…
Reference in New Issue