diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-08 06:55:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-08 06:55:48 +0400 |
commit | 8737dcfc7b248894ee1556b74a388463dc9af92d (patch) | |
tree | f246def7b836e2e3efbdba264c774168718c48f7 | |
parent | 942dda3f2deecc62acc1f8685ceb2b0b49453190 (diff) |
bugfix [#23722] Artifact in 3D View with empties saved to default .blend.
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 513b0e891dc..321281299ee 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -4772,7 +4772,7 @@ static void draw_empty_sphere (float size) GLUquadricObj *qobj; displist= glGenLists(1); - glNewList(displist, GL_COMPILE_AND_EXECUTE); + glNewList(displist, GL_COMPILE); glPushMatrix(); @@ -4793,8 +4793,8 @@ static void draw_empty_sphere (float size) } glScalef(size, size, size); - glCallList(displist); - glScalef(1/size, 1/size, 1/size); + glCallList(displist); + glScalef(1.0f/size, 1.0f/size, 1.0f/size); } /* draw a cone for use as an empty drawtype */ |