Initial fix for T53014: Cycles material preview no light

This was introduced on 9ad2c0b615.

Although this still doesn't fix the issue, it updates the preview
system to use COLLECTION_DISABLED as intended.

What is missing now is for the flushing to work effectively.
This commit is contained in:
Dalai Felinto 2017-10-06 18:54:27 -03:00
parent dfcdec914c
commit 8a1d787b89
Notes: blender-bot 2023-02-13 12:01:03 +01:00
Referenced by commit fdeb125c7a, Fix T53014: Cycles material preview not working
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ static void set_preview_layer(SceneLayer *scene_layer, char pr_type)
lc->flag = COLLECTION_VISIBLE;
}
else {
lc->flag = 0;
lc->flag = COLLECTION_DISABLED;
}
}
}