Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index e140bd1a68a..053c5ca9eed 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -224,7 +224,7 @@ void BKE_brush_make_local(Brush *brush)
}
for (scene = bmain->scene.first; scene && ELEM(0, is_lib, is_local); scene = scene->id.next) {
- if (paint_brush(&scene->toolsettings->imapaint.paint) == brush) {
+ if (BKE_paint_brush(&scene->toolsettings->imapaint.paint) == brush) {
if (scene->id.lib) is_lib = TRUE;
else is_local = TRUE;
}
@@ -249,9 +249,9 @@ void BKE_brush_make_local(Brush *brush)
BKE_id_lib_local_paths(bmain, brush->id.lib, &brush_new->id);
for (scene = bmain->scene.first; scene; scene = scene->id.next) {
- if (paint_brush(&scene->toolsettings->imapaint.paint) == brush) {
+ if (BKE_paint_brush(&scene->toolsettings->imapaint.paint) == brush) {
if (scene->id.lib == NULL) {
- paint_brush_set(&scene->toolsettings->imapaint.paint, brush_new);
+ BKE_paint_brush_set(&scene->toolsettings->imapaint.paint, brush_new);
}
}
}