Projet

Général

Profil

Révision 4b86e496

Ajouté par Marc Souviron il y a plus de 10 ans

correction d'un bug sur les panoramas non bouclés : le dernier point était mal positionné en Y.

Voir les différences:

js/pano.js
466 466
		this.ref_pixels[0].shift_y = this.ref_pixels[ord_pts.length].shift_y - dpix*this.ref_pixels[0].dshft_y;
467 467
	    } else {
468 468
		this.ref_pixels[0].shift_y = this.ref_pixels[1].shift_y;
469
		this.ref_pixels[ord_pts.length].shift_y = this.ref_pixels[ord_pts.length-1].shift_y;
470 469
		this.ref_pixels[0].dshft_y = 0;
471 470
		this.ref_pixels[ord_pts.length].dshft_y = 0;
472 471
	    }

Formats disponibles : Unified diff