Blender  V3.3
Public Attributes | List of all members
TreeViewContext Struct Reference

#include <outliner_intern.hh>

Public Attributes

struct Scenescene
 
struct ViewLayerview_layer
 
Objectobact
 
Objectob_edit
 
Objectob_pose
 

Detailed Description

Container to avoid passing around these variables to many functions. Also so we can have one place to assign these variables.

Definition at line 231 of file outliner_intern.hh.

Member Data Documentation

◆ ob_edit

Object* TreeViewContext::ob_edit

◆ ob_pose

Object* TreeViewContext::ob_pose

The pose object may not be the active object (when in weight paint mode). Checking this in draw loops isn't efficient, so set only once.

Definition at line 243 of file outliner_intern.hh.

Referenced by outliner_draw_mode_column_toggle(), outliner_item_mode_toggle(), outliner_sync_select_from_outliner_set_types(), outliner_sync_select_to_outliner_set_types(), outliner_viewcontext_init(), and tree_element_type_active_state_get().

◆ obact

Object* TreeViewContext::obact

◆ scene

struct Scene* TreeViewContext::scene

◆ view_layer

struct ViewLayer* TreeViewContext::view_layer

The documentation for this struct was generated from the following file: