WIP: Brush assets project #106303

Draft
Julian Eisel wants to merge 358 commits from brush-assets-project into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 5044b5a375 - Show all commits

View File

@ -274,6 +274,9 @@ static PointerRNA rna_Paint_brush_get(PointerRNA *ptr)
{
Paint *paint = static_cast<Paint *>(ptr->data);
Brush *brush = BKE_paint_brush(paint);
if (!brush) {
return PointerRNA_NULL;
}
return RNA_id_pointer_create(&brush->id);
}