[Bf-blender-cvs] [7a3756f8b05] sculpt-dev: fix linux compile error
Joseph Eagar
noreply at git.blender.org
Wed Sep 29 12:32:29 CEST 2021
Commit: 7a3756f8b05d1470a5672a38a048b3c1660d0bd2
Author: Joseph Eagar
Date: Wed Sep 29 03:32:16 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB7a3756f8b05d1470a5672a38a048b3c1660d0bd2
fix linux compile error
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
M source/blender/editors/sculpt_paint/sculpt_intern.h
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 62d66fcff12..042e9a54abc 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -11872,7 +11872,7 @@ static void sculpt_stroke_done(const bContext *C, struct PaintStroke *UNUSED(str
if (brush->sculpt_tool == SCULPT_TOOL_ARRAY) {
SCULPT_undo_push_node(ob, NULL, SCULPT_UNDO_GEOMETRY);
- SCULPT_array_datalayers_free(ob);
+ SCULPT_array_datalayers_free(ss->array, ob);
}
SCULPT_undo_push_end();
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 64e6485649d..760be021dfc 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -692,7 +692,7 @@ void SCULPT_boundary_pivot_line_preview_draw(const uint gpuattr, struct SculptSe
/* Array Brush. */
void SCULPT_do_array_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode);
-void SCULPT_array_datalayers_free(Object *ob);
+void SCULPT_array_datalayers_free(SculptArray *array, Object *ob);
void SCULPT_array_path_draw(const uint gpuattr, Brush *brush, SculptSession *ss);
/* Multi-plane Scrape Brush. */
More information about the Bf-blender-cvs
mailing list