[Bf-blender-cvs] [b2c64e2147d] sculpt-dev: Sculpt-dev: fix compile error

Joseph Eagar noreply at git.blender.org
Wed Nov 17 04:17:25 CET 2021


Commit: b2c64e2147d7c98c3c8a6f5eba1a928c09602527
Author: Joseph Eagar
Date:   Tue Nov 16 19:17:13 2021 -0800
Branches: sculpt-dev
https://developer.blender.org/rBb2c64e2147d7c98c3c8a6f5eba1a928c09602527

Sculpt-dev: fix compile error

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

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

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

diff --git a/source/blender/blenkernel/intern/brush_engine.c b/source/blender/blenkernel/intern/brush_engine.c
index c3446e5a9e5..7cf728c8e9e 100644
--- a/source/blender/blenkernel/intern/brush_engine.c
+++ b/source/blender/blenkernel/intern/brush_engine.c
@@ -112,6 +112,8 @@ static bool brush_mapping_inherits(BrushChannel *ch, BrushMapping *mp)
     case BRUSH_MAPPING_INHERIT_CHANNEL:
       return ch->flag & BRUSH_CHANNEL_INHERIT;
   }
+
+  return false;
 }
 
 void BKE_brush_channel_system_init()



More information about the Bf-blender-cvs mailing list