

It has taken me a while how to merge this patch to the rest of panorama in 3D mode of Photoshop. Merging as it was created by its generative tool was making a border around the patch. I have finally figure out that the layer needs to be converted to a smart object and then it can be merged without problems.
Also an advice when you use the generative tool look at all variations as there is always something better than the first one. I forgot about variations and was accepting the first one. Normally in that one some unwanted things were replaced but some stayed. It would require to run the tool again & again to get rid of everything. In another pano from the same area there was a very long camera-tripod shadow on a lot of objects. It took me an hour to get rid of everything. I guess if I looked at all three variations offered that could be a few times faster.