Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/drawarmature.c
| Show First 20 Lines • Show All 1,367 Lines • ▼ Show 20 Lines | static void draw_custom_bone(Scene *scene, View3D *v3d, RegionView3D *rv3d, Object *ob, | ||||
| if (armflag & ARM_POSEMODE) { | if (armflag & ARM_POSEMODE) { | ||||
| set_pchan_glColor(PCHAN_COLOR_NORMAL, boneflag, 0); | set_pchan_glColor(PCHAN_COLOR_NORMAL, boneflag, 0); | ||||
| } | } | ||||
| if (id != -1) { | if (id != -1) { | ||||
| GPU_select_load_id((GLuint) id | BONESEL_BONE); | GPU_select_load_id((GLuint) id | BONESEL_BONE); | ||||
| } | } | ||||
| draw_object_instance(scene, v3d, rv3d, ob, dt, armflag & ARM_POSEMODE); | draw_object_instance(scene, v3d, rv3d, ob, dt, armflag & ARM_POSEMODE, NULL); | ||||
| } | } | ||||
| static void pchan_draw_IK_root_lines(bPoseChannel *pchan, short only_temp) | static void pchan_draw_IK_root_lines(bPoseChannel *pchan, short only_temp) | ||||
| { | { | ||||
| bConstraint *con; | bConstraint *con; | ||||
| bPoseChannel *parchan; | bPoseChannel *parchan; | ||||
| ▲ Show 20 Lines • Show All 1,295 Lines • Show Last 20 Lines | |||||