when using linked-duplicated mesh, with subsurf and tfaces (UV texture)
  the render crashed.
  Found out the renderloop makes a new displaylist for each Mesh, also when
  it is linked multiple times. That way pointers to previous created elements
  in displaylists become invalid. Crash!
  Result now it even renders faster for linked-duplis. :)
This commit is contained in:
2003-11-13 12:44:34 +00:00
parent 994e0c40b1
commit 2ffb2376e0
2 changed files with 16 additions and 25 deletions

View File

@@ -143,9 +143,9 @@ typedef struct Mesh {
float rot[3];
short smoothresh, flag;
short subdiv, subdivr;
short subdiv, subdivr, subdivdone;
short totcol;
short reserved1, reserved2, reserved3; /* Padding */
short reserved1, reserved2; /* Padding */
float cubemapsize, rtf;