ok, apparently didn't commit this either. apparently includes a merge with trunk...
[blender-staging.git] / source / blender / editors / space_view3d / view3d_buttons.c
index fc3b86d9f1eb5838d059ddd1add6db625bf647c1..9568a3d667e0a228a7f2683a6f20f3d0a4432c1a 100644 (file)
@@ -502,7 +502,7 @@ static void v3d_transform_butsR(uiLayout *layout, PointerRNA *ptr)
        
        split = uiLayoutSplit(layout, 0.8);
        
-       if (ptr->type == &RNA_PoseChannel) {
+       if (ptr->type == &RNA_PoseBone) {
                PointerRNA boneptr;
                Bone *bone;
                
@@ -589,7 +589,7 @@ static void v3d_posearmature_buts(uiLayout *layout, View3D *v3d, Object *ob, flo
                return; 
        }
 
-       RNA_pointer_create(&ob->id, &RNA_PoseChannel, pchan, &pchanptr);
+       RNA_pointer_create(&ob->id, &RNA_PoseBone, pchan, &pchanptr);
 
        col= uiLayoutColumn(layout, 0);