projects
/
blender-staging.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure separation between modifier keys is communicated from GHOST upwards too...
[blender-staging.git]
/
source
/
blender
/
editors
/
space_view3d
/
drawobject.c
diff --git
a/source/blender/editors/space_view3d/drawobject.c
b/source/blender/editors/space_view3d/drawobject.c
index 171c5a311c1b43541df37b03ced9cb94e1c06794..bc340ef5b4b13a70af36eb7f2abbe9da52dfdf03 100644
(file)
--- a/
source/blender/editors/space_view3d/drawobject.c
+++ b/
source/blender/editors/space_view3d/drawobject.c
@@
-6139,7
+6139,8
@@
void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, int flag)
/* patch for several 3d cards (IBM mostly) that crash on glSelect with text drawing */
/* but, we also dont draw names for sets or duplicators */
if(flag == 0) {
/* patch for several 3d cards (IBM mostly) that crash on glSelect with text drawing */
/* but, we also dont draw names for sets or duplicators */
if(flag == 0) {
- view3d_cached_text_draw_add((float [3]){0,0,0}, ob->id.name+2, 10, 0);
+ float zero[3]= {0,0,0};
+ view3d_cached_text_draw_add(zero, ob->id.name+2, 10, 0);
}
}
/*if(dtx & OB_DRAWIMAGE) drawDispListwire(&ob->disp);*/
}
}
/*if(dtx & OB_DRAWIMAGE) drawDispListwire(&ob->disp);*/