Bug 114605 - M81 M82 Orientation (Horizontal)
Summary: M81 M82 Orientation (Horizontal)
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kstars
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 12:16 UTC by Christian Cernuschi
Modified: 2006-01-23 04:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ) {