Oblateness was being set to mass when mass field was present in an ssc definition. Not so good. Fixed the typo that was causing this.
parent
cac5ae1020
commit
eac56e525d
|
@ -502,7 +502,7 @@ static Body* CreatePlanet(PlanetarySystem* system,
|
|||
|
||||
double mass = 0.0;
|
||||
if (planetData->getNumber("Mass", mass))
|
||||
body->setOblateness((float) mass);
|
||||
body->setMass((float) mass);
|
||||
|
||||
Quatf orientation;
|
||||
if (planetData->getRotation("Orientation", orientation))
|
||||
|
|
Loading…
Reference in New Issue