Bug in commit for 'linked scene sets', that got sneaked in after 2.40. :)
authorTon Roosendaal <ton@blender.org>
Mon, 23 Jan 2006 21:13:48 +0000 (21:13 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 23 Jan 2006 21:13:48 +0000 (21:13 +0000)
This fixes shaded mode in lostride demo file, also for scenes that use
sets in shaded drawmode, lighting now will look ok.

source/blender/blenkernel/intern/displist.c

index e3ce24fe19082dfb25c18c56157dee6e37d8d7bb..36d6c82b266b17e7ad5974566225d60e05cda063 100644 (file)
@@ -310,7 +310,7 @@ static void initfastshade(void)
        Mat4Invert(fviewmat, R.viewinv);
 
        /* initrendertexture(); */
-       setscene = G.scene->set;
+       setscene = G.scene;
        base= G.scene->base.first;
        while(base) {
                ob= base->object;