Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_cursor.c
| Context not available. | |||||
| } | } | ||||
| /* Draw pose brush origin */ | /* Draw pose brush origin */ | ||||
| if (brush->sculpt_tool == SCULPT_TOOL_POSE) { | if (brush->sculpt_tool == SCULPT_TOOL_POSE && !is_multires) { | ||||
| immUniformColor4f(1.0f, 1.0f, 1.0f, 0.8f); | immUniformColor4f(1.0f, 1.0f, 1.0f, 0.8f); | ||||
| if (update_previews) { | if (update_previews) { | ||||
| BKE_sculpt_update_object_for_edit(depsgraph, vc.obact, true, false); | BKE_sculpt_update_object_for_edit(depsgraph, vc.obact, true, false); | ||||
| Context not available. | |||||
| } | } | ||||
| /* Draw pose brush line preview */ | /* Draw pose brush line preview */ | ||||
| if (brush->sculpt_tool == SCULPT_TOOL_POSE) { | if (brush->sculpt_tool == SCULPT_TOOL_POSE && !is_multires) { | ||||
| immUniformColor4f(1.0f, 1.0f, 1.0f, 0.8f); | immUniformColor4f(1.0f, 1.0f, 1.0f, 0.8f); | ||||
| GPU_line_width(2.0f); | GPU_line_width(2.0f); | ||||
| immBegin(GPU_PRIM_LINES, 2); | immBegin(GPU_PRIM_LINES, 2); | ||||
| Context not available. | |||||