forked from bartvdbraak/blender
bugfix [#23722] Artifact in 3D View with empties saved to default .blend.
This commit is contained in:
parent
942dda3f2d
commit
8737dcfc7b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user