[Bf-blender-cvs] [99df345f645] temp-workspace-object-mode-removal: Cleanup

Campbell Barton noreply at git.blender.org
Wed Feb 7 06:03:36 CET 2018


Commit: 99df345f645a057dac4b37866d55fe8855136e77
Author: Campbell Barton
Date:   Wed Feb 7 15:31:25 2018 +1100
Branches: temp-workspace-object-mode-removal
https://developer.blender.org/rB99df345f645a057dac4b37866d55fe8855136e77

Cleanup

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

M	source/blender/editors/sculpt_paint/paint_utils.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index 8535bc863cf..6b14f97d80c 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -565,7 +565,8 @@ static int brush_curve_preset_exec(bContext *C, wmOperator *op)
 {
 	Brush *br = BKE_paint_brush(BKE_paint_get_active_from_context(C));
 
-	if (br) {const WorkSpace *workspace = CTX_wm_workspace(C);
+	if (br) {
+		const WorkSpace *workspace = CTX_wm_workspace(C);
 		Scene *scene = CTX_data_scene(C);
 		ViewLayer *view_layer = CTX_data_view_layer(C);
 		BKE_brush_curve_preset(br, RNA_enum_get(op->ptr, "shape"));



More information about the Bf-blender-cvs mailing list