Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_mask.c
| Show First 20 Lines • Show All 1,459 Lines • ▼ Show 20 Lines | case SCULPT_GESTURE_SHAPE_BOX: | ||||
| /* Gesture shape projection not implemented yet. */ | /* Gesture shape projection not implemented yet. */ | ||||
| BLI_assert(false); | BLI_assert(false); | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| static void sculpt_gesture_project_end(bContext *C, SculptGestureContext *sgcontext) | static void sculpt_gesture_project_end(bContext *C, SculptGestureContext *sgcontext) | ||||
| { | { | ||||
| SculptSession *ss = sgcontext->ss; | |||||
JacquesLucke: remove newline | |||||
| Sculpt *sd = CTX_data_tool_settings(C)->sculpt; | |||||
| if (ss->deform_modifiers_active || ss->shapekey_active) { | |||||
| SCULPT_flush_stroke_deform(sd, sgcontext->vc.obact, true); | |||||
| } | |||||
| SCULPT_flush_update_step(C, SCULPT_UPDATE_COORDS); | SCULPT_flush_update_step(C, SCULPT_UPDATE_COORDS); | ||||
| SCULPT_flush_update_done(C, sgcontext->vc.obact, SCULPT_UPDATE_COORDS); | SCULPT_flush_update_done(C, sgcontext->vc.obact, SCULPT_UPDATE_COORDS); | ||||
| } | } | ||||
| static void sculpt_gesture_init_project_properties(SculptGestureContext *sgcontext, | static void sculpt_gesture_init_project_properties(SculptGestureContext *sgcontext, | ||||
| wmOperator *UNUSED(op)) | wmOperator *UNUSED(op)) | ||||
| { | { | ||||
| sgcontext->operation = MEM_callocN(sizeof(SculptGestureFaceSetOperation), "Project Operation"); | sgcontext->operation = MEM_callocN(sizeof(SculptGestureFaceSetOperation), "Project Operation"); | ||||
| ▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines | |||||
remove newline