Object *TriObject::MakeShallowCopy(ChannelMask channels) { TriObject* newob = CreateNewTriObject(); #ifdef TRIPIPE_DEBUG DebugPrint ("TriObject(%08x)::MakeShallowCopy (%08x): %08x\n", this, channels, newob); #endif newob->ShallowCopy(this,channels); /* Redundant code NS:03-15-00 newob->mesh.ShallowCopy(&mesh,channels); newob->CopyValidity(this,channels); newob->mDispApprox = mDispApprox; newob->mSubDivideDisplacement = mSubDivideDisplacement; newob->mSplitMesh = mSplitMesh; newob->mDisableDisplacement = mDisableDisplacement; */ return newob; }