Sculpt-dev: fix improper forward declaration

This commit is contained in:
Joseph Eagar 2022-01-25 16:27:09 -08:00
parent 0e7e759a33
commit 7eb1dd08ba
Notes: blender-bot 2023-07-10 10:12:37 +02:00
Referenced by issue #95219, VSE, visual glitches over sequensors
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
curve ? (BKE_curvemapping_cache_release_or_free(brush_curve_cache, curve), nullptr) : nullptr
#define CURVE_ADDREF(curve) BKE_curvemapping_cache_aquire(brush_curve_cache, curve)
struct CurveMappingCache *brush_curve_cache = NULL;
extern struct CurveMappingCache *brush_curve_cache;
extern BrushChannelType brush_builtin_channels[];
extern int brush_builtin_channel_len;

View File

@ -4290,7 +4290,7 @@ static void do_displacement_heal_cb(void *__restrict userdata,
copy_m3_m3(mats[locali], mat);
invert_m3(mat);
float disp[3];
copy_v3_v3(disp, SCULPT_vertex_co_get(ss, vertex));
sub_v3_v3(disp, p);