Bug 114605

Summary: M81 M82 Orientation (Horizontal)
Product: [Applications] kstars Reporter: Christian Cernuschi <christian>
Component: generalAssignee: kstars
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian Cernuschi 2005-10-18 12:16:13 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages

If you point to m81,m82,ngc3077 you see that m81,m82 have wrong Horizontal orientation. They should be flipped H.

I realized that looking at a real photo and kstars map.

Thank You
Comment 1 kstars 2006-01-23 04:40:43 UTC
SVN commit 501480 by harris:

Fixing bug #114605.  All deep-sky objects were shown with incorrect 
position angle (flipped horizontally).

Thanks for the report.
BUG: 114605


 M  +1 -1      skymapdraw.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/skymapdraw.cpp #501479:501480
@@ -1282,7 +1282,7 @@
 					QPoint o = getXY( obj, Options::useAltAz(), Options::useRefraction(), scale );
 					if ( o.x() >= 0 && o.x() <= Width && o.y() >= 0 && o.y() <= Height ) {
 						//PA for Deep-Sky objects is 90 + PA because major axis is horizontal at PA=0
-						double PositionAngle = 90. + findPA( obj, o.x(), o.y(), scale );
+						double PositionAngle = 90. - findPA( obj, o.x(), o.y(), scale );
 
 						//Draw Image
 						if ( drawImage && Options::zoomFactor() > 5.*MINZOOM ) {