forked from bartvdbraak/blender
Bug in commit for 'linked scene sets', that got sneaked in after 2.40. :)
This fixes shaded mode in lostride demo file, also for scenes that use sets in shaded drawmode, lighting now will look ok.
This commit is contained in:
parent
f9bb1b534e
commit
58db0210a8
@ -310,7 +310,7 @@ static void initfastshade(void)
|
|||||||
Mat4Invert(fviewmat, R.viewinv);
|
Mat4Invert(fviewmat, R.viewinv);
|
||||||
|
|
||||||
/* initrendertexture(); */
|
/* initrendertexture(); */
|
||||||
setscene = G.scene->set;
|
setscene = G.scene;
|
||||||
base= G.scene->base.first;
|
base= G.scene->base.first;
|
||||||
while(base) {
|
while(base) {
|
||||||
ob= base->object;
|
ob= base->object;
|
||||||
|
Loading…
Reference in New Issue
Block a user