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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-03 23:34:49 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-10-03 23:34:49 +0400
commit5574655dad77e697c494dfff80ecfeeb7796ba9b (patch)
tree8c10ca0ec54d21e47f2531b173da360a68bc4ad8 /source/blender/src/drawarmature.c
parent128ee40d60db26ae17bf48a2c5555397b7ca49b7 (diff)
Fix for part of bug #17464, though not the original issue yet. A GLSL
shadow drawing fix also affected 3d view opengl render, hiding armatures, now there's separate flags for it.
Diffstat (limited to 'source/blender/src/drawarmature.c')
-rw-r--r--source/blender/src/drawarmature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c
index f050a730380..2d41e01f7e4 100644
--- a/source/blender/src/drawarmature.c
+++ b/source/blender/src/drawarmature.c
@@ -2506,7 +2506,7 @@ int draw_armature(Base *base, int dt, int flag)
bArmature *arm= ob->data;
int retval= 0;
- if(G.f & G_SIMULATION)
+ if(G.f & G_RENDER_SHADOW)
return 1;
if(dt>OB_WIRE && arm->drawtype!=ARM_LINE) {