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:
authorJanne Karhu <jhkarh@gmail.com>2008-03-31 23:03:18 +0400
committerJanne Karhu <jhkarh@gmail.com>2008-03-31 23:03:18 +0400
commit1ccf92aecd62914b87e0c4f1e70ba01b2e4eca09 (patch)
tree4fb1fabf07883aa90a7e83ca04ba69a68846aa32 /source/blender/src/drawobject.c
parente16a766620b9431966dafce0c9b72cee440dd6a7 (diff)
Fix for bug: [#8782] particle mode issues
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 617b38d0018..2494d19344d 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -3682,7 +3682,7 @@ static void draw_particle_edit(Object *ob, ParticleSystem *psys)
glDisableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_COLOR_ARRAY);
glDisable(GL_LIGHTING);
- glPointSize(4.0f);
+ glPointSize(BIF_GetThemeValuef(TH_VERTEX_SIZE));
if(G.scene->selectmode==SCE_SELECT_POINT){
float *cd=0,*cdata=0;
@@ -3755,6 +3755,7 @@ static void draw_particle_edit(Object *ob, ParticleSystem *psys)
glLineWidth(1.0f);
mymultmatrix(ob->obmat); // bring back local matrix for dtx
+ glPointSize(1.0);
}
unsigned int nurbcol[8]= {