Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/outliner_draw.c
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | if (TSELEM_OPEN(tselem, space_outliner)) { | ||||
| outliner_tree_dimensions_impl(space_outliner, &te->subtree, width, height); | outliner_tree_dimensions_impl(space_outliner, &te->subtree, width, height); | ||||
| } | } | ||||
| else { | else { | ||||
| outliner_tree_dimensions_impl(space_outliner, &te->subtree, width, NULL); | outliner_tree_dimensions_impl(space_outliner, &te->subtree, width, NULL); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static void outliner_tree_dimensions(SpaceOutliner *space_outliner, int *r_width, int *r_height) | void outliner_tree_dimensions(SpaceOutliner *space_outliner, int *r_width, int *r_height) | ||||
| { | { | ||||
| *r_width = 0; | *r_width = 0; | ||||
| *r_height = 0; | *r_height = 0; | ||||
| outliner_tree_dimensions_impl(space_outliner, &space_outliner->tree, r_width, r_height); | outliner_tree_dimensions_impl(space_outliner, &space_outliner->tree, r_width, r_height); | ||||
| } | } | ||||
| /** | /** | ||||
| * The active object is only needed for reference. | * The active object is only needed for reference. | ||||
| ▲ Show 20 Lines • Show All 3,569 Lines • Show Last 20 Lines | |||||