[Bf-blender-cvs] [38d3054cae3] sculpt-dev: Sculpt: fix missing extern keyword

Joseph Eagar noreply at git.blender.org
Thu Oct 14 03:59:16 CEST 2021


Commit: 38d3054cae37ecb66b9d3baac04a6eb9a001d239
Author: Joseph Eagar
Date:   Wed Oct 13 18:58:35 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB38d3054cae37ecb66b9d3baac04a6eb9a001d239

Sculpt: fix missing extern keyword

===================================================================

M	source/blender/blenkernel/intern/brush_engine_presets.c

===================================================================

diff --git a/source/blender/blenkernel/intern/brush_engine_presets.c b/source/blender/blenkernel/intern/brush_engine_presets.c
index cc7571fa294..ce668ba8a11 100644
--- a/source/blender/blenkernel/intern/brush_engine_presets.c
+++ b/source/blender/blenkernel/intern/brush_engine_presets.c
@@ -49,7 +49,7 @@
 #  pragma warning(error : 4033) /* 'function' must return a value */
 #endif
 
-struct CurveMappingCache *brush_curve_cache;
+extern struct CurveMappingCache *brush_curve_cache;
 
 #if 1
 struct {



More information about the Bf-blender-cvs mailing list