Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt_pose.c
| Show First 20 Lines • Show All 948 Lines • ▼ Show 20 Lines | SculptPoseIKChain *SCULPT_pose_ik_chain_init(Sculpt *sd, | ||||
| switch (br->pose_origin_type) { | switch (br->pose_origin_type) { | ||||
| case BRUSH_POSE_ORIGIN_TOPOLOGY: | case BRUSH_POSE_ORIGIN_TOPOLOGY: | ||||
| ik_chain = pose_ik_chain_init_topology(sd, ob, ss, br, initial_location, radius); | ik_chain = pose_ik_chain_init_topology(sd, ob, ss, br, initial_location, radius); | ||||
| break; | break; | ||||
| case BRUSH_POSE_ORIGIN_FACE_SETS: | case BRUSH_POSE_ORIGIN_FACE_SETS: | ||||
| ik_chain = pose_ik_chain_init_face_sets(sd, ob, ss, br, radius); | ik_chain = pose_ik_chain_init_face_sets(sd, ob, ss, br, radius); | ||||
| break; | break; | ||||
| case BRUSH_POSE_ORIGIN_FACE_SETS_FK: | case BRUSH_POSE_ORIGIN_FACE_SETS_FK: | ||||
| return pose_ik_chain_init_face_sets_fk(sd, ob, ss, radius, initial_location); | ik_chain = pose_ik_chain_init_face_sets_fk(sd, ob, ss, radius, initial_location); | ||||
| break; | break; | ||||
| } | } | ||||
| if (use_fake_neighbors) { | if (use_fake_neighbors) { | ||||
| SCULPT_fake_neighbors_disable(ob); | SCULPT_fake_neighbors_disable(ob); | ||||
| } | } | ||||
| return ik_chain; | return ik_chain; | ||||
| ▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines | |||||