Show Reference Points labels (Closes: #489)
parent
00ee0d4bcd
commit
cf945d7b6e
|
@ -7875,7 +7875,10 @@ void Renderer::notifyWatchers() const
|
|||
|
||||
void Renderer::updateBodyVisibilityMask()
|
||||
{
|
||||
int flags = 0;
|
||||
// Bodies with type `Invisible' (e.g. ReferencePoints) are not drawn,
|
||||
// but if their property `Visible' is set they have visible labels,
|
||||
// so we make `Body::Invisible' class visible.
|
||||
int flags = Body::Invisible;
|
||||
|
||||
if ((renderFlags & Renderer::ShowPlanets) != 0)
|
||||
flags |= Body::Planet;
|
||||
|
|
Loading…
Reference in New Issue