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:
Shyotl
2020-02-29 22:33:51 -06:00
parent d8c4db17f2
commit 34f6ea4db2
10 changed files with 377 additions and 573 deletions

View File

@@ -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();
}