diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-22 12:43:29 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-22 12:43:29 +0300 |
commit | 42def9a351a2c2696912288d9f1aed8b658f097c (patch) | |
tree | a7b41a8e8bd918e558695a74f311d722814b8ae3 /source/blender/editors/space_view3d/drawarmature.c | |
parent | 6d31872298e2f6fd23d06a4ccb792647879163ca (diff) |
2.5
Cleanup
- for portablity we can keep the old ugly defines for retrieving
active object, cfra and so on. But, they will use 'scene' not
G.scene.
- fixed code that uses those defines.
- some unused variables/functions removed
Diffstat (limited to 'source/blender/editors/space_view3d/drawarmature.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index 1eb0b8c2b86..c9307f8e1fb 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -2022,7 +2022,7 @@ static void draw_ebones(View3D *v3d, Object *ob, int dt) /* draw bone paths * - in view space */ -static void draw_pose_paths(View3D *v3d, Object *ob) +static void draw_pose_paths(Scene *scene, View3D *v3d, Object *ob) { bArmature *arm= ob->data; bPoseChannel *pchan; @@ -2547,7 +2547,7 @@ int draw_armature(Scene *scene, View3D *v3d, Base *base, int dt, int flag) else if(G.f & G_WEIGHTPAINT) arm->flag |= ARM_POSEMODE; - draw_pose_paths(v3d, ob); + draw_pose_paths(scene, v3d, ob); } } } |