Save Mesh | Object reference not set

From: andré swinka (andre.swinka_at_gmx.de)
Date: 05/23/04

  • Next message: Fabian Schmied: "Re: Stability problem after upgrading from DX 9.0 to 9.0b runtime"
    Date: Sun, 23 May 2004 14:45:20 +0200
    
    

    Hallo

    I have some problems with saving a Mesh created by Mesh.Box()

    sourcecode:

    materials = null;
    int [] adj = new int [mesh.NumberFaces * 3];

    mesh.GenerateAdjacency(0.01F, adj);

    this.mesh.Save(fileName, adj, materials, XFileFormat.Binary);

    there always is displayed object refernce not set!

    thx!

    greetings

    andré


  • Next message: Fabian Schmied: "Re: Stability problem after upgrading from DX 9.0 to 9.0b runtime"