Projet

Général

Profil

Révision 3b5b7963

Ajouté par Jocelyn Dealande il y a environ 9 ans

fixed a bug introduced in 7096d2f and preventing propper circles displaying

Voir les différences:

js/pano.js
508 508
		    ord_pts.push(ref_points[label]);
509 509
	    }
510 510
	    ord_pts = ord_pts.sort(tri_ref_points);
511
	    is_located = i > 1 || image_loop && i > 0;
511
	    is_located = (ord_pts.length > 1) 
512
	                  || image_loop && (ord_pts.length > 0);
513

  
512 514

  
513 515
	    var alpha_domain = {start:0, end:360};
514 516
	    this.pixel_y_ratio = this.im.width/360;

Formats disponibles : Unified diff