Project

General

Profile

« Previous | Next » 

Revision 3b5b7963

ID3b5b7963bfcebd9087ff0c439f8aec5f5604cfd1
Parent 94abb8ac
Child 5bfbdfb4

Added by Jocelyn Dealande almost 8 years ago

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

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;