Blender  V3.3
Functions
outliner_query.cc File Reference
#include <functional>
#include "BLI_listbase.h"
#include "DNA_space_types.h"
#include "outliner_intern.hh"
#include "tree/tree_display.hh"

Go to the source code of this file.

Functions

bool outliner_shows_mode_column (const SpaceOutliner &space_outliner)
 
bool outliner_has_element_warnings (const SpaceOutliner &space_outliner)
 

Function Documentation

◆ outliner_has_element_warnings()

bool outliner_has_element_warnings ( const SpaceOutliner space_outliner)

Iterate over the entire tree (including collapsed sub-elements), probing if any of the elements has a warning to be displayed.

Definition at line 29 of file outliner_query.cc.

References bool, LISTBASE_FOREACH, and SpaceOutliner::tree.

Referenced by draw_outliner().

◆ outliner_shows_mode_column()

bool outliner_shows_mode_column ( const SpaceOutliner space_outliner)