Rework LLSurface[Patch]. Abuse weak_ptr for now. Rewrote connectNeighbor. LLSurfacePatch no longer calls parent LLSurface with this poiter, instead parent surface just handles return value and controls its own behavior [Requred for weak_ptr/shared_ptr change.
This commit is contained in:
@@ -673,7 +673,7 @@ LLSurfacePatch * LLWorld::resolveLandPatchGlobal(const LLVector3d &pos_global)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return regionp->getLand().resolvePatchGlobal(pos_global);
|
||||
return regionp->getLand().resolvePatchGlobal(pos_global).get();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user