Commit 1ec2d283 authored by Rishab Arora's avatar Rishab Arora

Corrected PA issue in custom catalogs

parent 425894a1
......@@ -732,7 +732,7 @@ void CatalogDB::GetAllObjects(const QString &catalog,
} else { // Add a deep-sky object
DeepSkyObject *o = new DeepSkyObject(iType, RA, Dec, mag,
name, QString(), lname,
catPrefix, a, b, -PA);
catPrefix, a, b, PA);
o->setFlux(flux);
o->setCustomCatalog(catalog_ptr);
......
......@@ -30,8 +30,8 @@
* ra = Right Ascension of the object (in HH:MM:SS format)
* dec = Declination of the object (in +/-DD:MM:SS format)
* type = type of the object (from skyqpainter::drawDeepSkySymbol())
* 0: general star (not to be used)
* 1: star
* 0: general star (not to be used for custom catalogs)
* 1: Catalog star
* 2: planet
* 3: Open Cluster
* 4: Globular Cluster
......@@ -43,6 +43,12 @@
* 14: Galaxy cluster
* 15: Dark Nebula
* 16: Quasar
* 17: Multiple Star
* 18: Radio Source
* 19: Satellite
* 20: Supernova
* 21: TYPE_UNKNOWN
*
* magnitude = Apparent Magnitude of the object
* position_angle = Position Angle of the object
* major_axis = Major Axis Length (arcmin)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment