TestPQTorus bug


change


 //Generate the geometry
        //generatePQTorus();
        t = new PQTorus("torus", p, q, 2.0f, 1.0f, 128, 16);

        //Update the scene
        rootNode.attachChild(t);



Also trying multitexture on a PQTorus fails with a EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69716282, pid=2340, tid=536