Exemplo n.º 1
0
RefTargetHandle TriPatchObject::Clone(RemapDir& remap) {
	TriPatchObject* newob = new TriPatchObject();
	newob->ReplaceReference(0,pblock->Clone(remap));
	newob->ivalid.SetEmpty();	
	BaseClone(this, newob, remap);
	return(newob);
	}
Exemplo n.º 2
0
RefTargetHandle OptMod::Clone(RemapDir& remap) 
	{
	OptMod* newmod = new OptMod();	
	newmod->ReplaceReference(0,pblock->Clone(remap));	
	BaseClone(this, newmod, remap);
	return newmod;
	}
Exemplo n.º 3
0
RefTargetHandle MirrorMod::Clone(RemapDir& remap)
	{
	MirrorMod *mod = new MirrorMod();
	mod->ReplaceReference(PBLOCK_REF,pblock->Clone(remap));	
	mod->ReplaceReference(TM_REF,remap.CloneRef(tmControl));
	mod->splineMethod = splineMethod;
	BaseClone(this, mod, remap);
	return mod;
	}
Exemplo n.º 4
0
RefTargetHandle AFRMod::Clone(RemapDir& remap)
	{
	AFRMod *mod = new AFRMod();
	mod->ReplaceReference(PBLOCK_REF,pblock->Clone(remap));
	mod->ReplaceReference(POINT1_REF,p1->Clone(remap));
	mod->ReplaceReference(POINT2_REF,p2->Clone(remap));
	BaseClone(this, mod, remap);
	return mod;
	}
Exemplo n.º 5
0
RefTargetHandle SpherifyMod::Clone(RemapDir& remap) {
	SpherifyMod* newmod = new SpherifyMod();	
	newmod->ReplaceReference(0, pblock->Clone(remap));
	BaseClone(this, newmod, remap);
	return(newmod);
}