[Bf-blender-cvs] [5cf7741] PSketch: PSculpt: Code Cleanup - Silence warnings, by stubbing in a few more brushes

Joshua Leung noreply at git.blender.org
Sun Jan 31 14:29:09 CET 2016


Commit: 5cf7741c7bf417d68b9dc66e8108bdc59a7c8ec6
Author: Joshua Leung
Date:   Fri Jan 15 13:20:35 2016 +1300
Branches: PSketch
https://developer.blender.org/rB5cf7741c7bf417d68b9dc66e8108bdc59a7c8ec6

PSculpt: Code Cleanup - Silence warnings, by stubbing in a few more brushes

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

M	source/blender/editors/armature/pose_sculpt.c

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

diff --git a/source/blender/editors/armature/pose_sculpt.c b/source/blender/editors/armature/pose_sculpt.c
index 5437614..666637a 100644
--- a/source/blender/editors/armature/pose_sculpt.c
+++ b/source/blender/editors/armature/pose_sculpt.c
@@ -1209,7 +1209,9 @@ static void psculpt_brush_apply(bContext *C, wmOperator *op, PointerRNA *itemptr
 					
 				case PSCULPT_BRUSH_SMOOTH:
 				{
-				
+					// XXX: placeholder
+					changed = psculpt_brush_do_apply(pso, &data, brush_smooth, selected);
+					
 					break;
 				}
 					
@@ -1233,43 +1235,47 @@ static void psculpt_brush_apply(bContext *C, wmOperator *op, PointerRNA *itemptr
 					
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_CURL:
 				{
 					changed = psculpt_brush_do_apply(pso, &data, brush_curl, selected);
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_STRETCH:
 				{
 					changed = psculpt_brush_do_apply(pso, &data, brush_stretch, selected);
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_TWIST:
 				{
 					changed = psculpt_brush_do_apply(pso, &data, brush_twist, selected);
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_RADIAL:
 				{
-				
+					// XXX: placeholder
+					changed = psculpt_brush_do_apply(pso, &data, brush_radial, selected);
+					
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_WRAP:
 				{
-				
+					// XXX: placeholder
+					changed = psculpt_brush_do_apply(pso, &data, brush_wrap, selected);
+					
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_RESET:
 				{
 					changed = psculpt_brush_do_apply(pso, &data, brush_reset, selected);
 					break;
 				}
-					
+				
 				case PSCULPT_BRUSH_SELECT:
 				{
 					bArmature *arm = (bArmature *)ob->data;
@@ -1283,9 +1289,10 @@ static void psculpt_brush_apply(bContext *C, wmOperator *op, PointerRNA *itemptr
 					
 					break;
 				}
-					
+				
 				default:
 					printf("Pose Sculpt: Unknown brush type %d\n", pset->brushtype);
+					break;
 			}
 			
 			/* flush updates */




More information about the Bf-blender-cvs mailing list