Add missing cast on hidden object output.
This commit is contained in:
parent
6a1ecee57b
commit
51379463d8
2 changed files with 14 additions and 10 deletions
|
@ -126,7 +126,7 @@ void QE_entityCountChanged()
|
||||||
std::size_t Scene_countHiddenBrushes(scene::Graph &graph);
|
std::size_t Scene_countHiddenBrushes(scene::Graph &graph);
|
||||||
void QE_hiddenCountChanged()
|
void QE_hiddenCountChanged()
|
||||||
{
|
{
|
||||||
g_numhidden = Scene_countHiddenBrushes(GlobalSceneGraph());
|
g_numhidden = int(Scene_countHiddenBrushes(GlobalSceneGraph()));
|
||||||
QE_UpdateStatusBar();
|
QE_UpdateStatusBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -799,26 +799,29 @@ public:
|
||||||
|
|
||||||
void Scene_Hide_Selected(bool hide)
|
void Scene_Hide_Selected(bool hide)
|
||||||
{
|
{
|
||||||
GlobalSceneGraph().traverse(HideSelectedWalker(hide));
|
GlobalSceneGraph().traverse(HideSelectedWalker(hide));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Select_Hide()
|
void Select_Hide()
|
||||||
{
|
{
|
||||||
Scene_Hide_Selected(true);
|
Scene_Hide_Selected(true);
|
||||||
SceneChangeNotify();
|
SceneChangeNotify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void QE_hiddenCountChanged();
|
||||||
void HideSelected()
|
void HideSelected()
|
||||||
{
|
{
|
||||||
Select_Hide();
|
Select_Hide();
|
||||||
GlobalSelectionSystem().setSelectedAll(false);
|
GlobalSelectionSystem().setSelectedAll(false);
|
||||||
|
QE_hiddenCountChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideUnselected()
|
void HideUnselected()
|
||||||
{
|
{
|
||||||
Select_Invert();
|
Select_Invert();
|
||||||
Select_Hide();
|
Select_Hide();
|
||||||
GlobalSelectionSystem().setSelectedAll(false);
|
GlobalSelectionSystem().setSelectedAll(false);
|
||||||
|
QE_hiddenCountChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -844,8 +847,9 @@ void Scene_Hide_All(bool hide)
|
||||||
|
|
||||||
void Select_ShowAllHidden()
|
void Select_ShowAllHidden()
|
||||||
{
|
{
|
||||||
Scene_Hide_All(false);
|
Scene_Hide_All(false);
|
||||||
SceneChangeNotify();
|
SceneChangeNotify();
|
||||||
|
QE_hiddenCountChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue