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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-07-18 01:49:08 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-07-18 01:49:08 +0400
commit8620008ccdda5ca7d7b83cb6b1a24e62f881ee84 (patch)
tree1c58b7108fa8824544e973c4bbb4308bc30c5ea2 /source/blender/editors/space_view3d/view3d_draw.c
parent1097a3f70d92f888f62a02bb7fb53a25b1059c7b (diff)
Fix T41113: Hide doesn't work on particle systems
Particles could completely cancel Hide flag! 'Accumulative' bool is not a really good idea here, hide (or render-hide) are some kind of 'absolute' no-go. Found another issue in that area, duplicated objects would still show in 'render override' mode, when object was render-disabled. Hopefully things are better now.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 4adfa845299..dd08339cc94 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1981,6 +1981,7 @@ static void draw_dupli_objects_color(
DupliApplyData *apply_data;
if (base->object->restrictflag & OB_RESTRICT_VIEW) return;
+ if ((base->object->restrictflag & OB_RESTRICT_RENDER) && (v3d->flag2 & V3D_RENDER_OVERRIDE)) return;
if (dflag & DRAW_CONSTCOLOR) {
BLI_assert(color == TH_UNDEFINED);