Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt.c
| Show First 20 Lines • Show All 3,449 Lines • ▼ Show 20 Lines | else { | ||||
| copy_v3_v3(area_no, area_no_sp); | copy_v3_v3(area_no, area_no_sp); | ||||
| } | } | ||||
| /* delay the first daub because grab delta is not setup */ | /* delay the first daub because grab delta is not setup */ | ||||
| if (ss->cache->first_time) { | if (ss->cache->first_time) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (is_zero_v3(ss->cache->grab_delta_symmetry)) { | |||||
| return; | |||||
| } | |||||
| mul_v3_v3v3(temp, area_no_sp, ss->cache->scale); | mul_v3_v3v3(temp, area_no_sp, ss->cache->scale); | ||||
| mul_v3_fl(temp, displace); | mul_v3_fl(temp, displace); | ||||
| add_v3_v3(area_co, temp); | add_v3_v3(area_co, temp); | ||||
| /* init mat */ | /* init mat */ | ||||
| cross_v3_v3v3(mat[0], area_no, ss->cache->grab_delta_symmetry); | cross_v3_v3v3(mat[0], area_no, ss->cache->grab_delta_symmetry); | ||||
| mat[0][3] = 0; | mat[0][3] = 0; | ||||
| cross_v3_v3v3(mat[1], area_no, mat[0]); | cross_v3_v3v3(mat[1], area_no, mat[0]); | ||||
| ▲ Show 20 Lines • Show All 3,051 Lines • Show Last 20 Lines | |||||