Cleanup: useless call to glRasterPos before `view3d_cached_text_draw_add()`
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 20 Mar 2017 13:36:06 +0000 (14:36 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 20 Mar 2017 13:36:06 +0000 (14:36 +0100)
Probably some leftover from much older code?

source/blender/editors/space_view3d/drawarmature.c

index 47a19bc83cce0ce187f175274c104627e0982eb1..314b7bf3335e50889db61ee88364be06ac1a0086 100644 (file)
@@ -2360,7 +2360,6 @@ static void draw_ebones(View3D *v3d, ARegion *ar, Object *ob, const short dt)
                                                /*      Draw name */
                                                if (arm->flag & ARM_DRAWNAMES) {
                                                        mid_v3_v3v3(vec, eBone->head, eBone->tail);
-                                                       glRasterPos3fv(vec);
                                                        view3d_cached_text_draw_add(vec, eBone->name, strlen(eBone->name), 10, 0, col);
                                                }
                                                /*      Draw additional axes */