Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/space_view3d/drawobject.c6
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 */