Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
58 lines
1.6 KiB
C++
58 lines
1.6 KiB
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2015 Blender Foundation. */
|
|
|
|
/** \file
|
|
* \ingroup editors
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Base;
|
|
struct ListBase;
|
|
struct SpaceOutliner;
|
|
struct bContext;
|
|
|
|
bool ED_outliner_collections_editor_poll(struct bContext *C);
|
|
|
|
/**
|
|
* Populates the \param objects: ListBase with all the outliner selected objects
|
|
* We store it as (Object *)LinkData->data
|
|
* \param objects: expected to be empty
|
|
*/
|
|
void ED_outliner_selected_objects_get(const struct bContext *C, struct ListBase *objects);
|
|
|
|
/**
|
|
* Get base of object under cursor. Used for eyedropper tool.
|
|
*/
|
|
struct Base *ED_outliner_give_base_under_cursor(struct bContext *C, const int mval[2]);
|
|
|
|
/**
|
|
* Functions for tagging outliner selection syncing is dirty from operators.
|
|
*/
|
|
void ED_outliner_select_sync_from_object_tag(struct bContext *C);
|
|
void ED_outliner_select_sync_from_edit_bone_tag(struct bContext *C);
|
|
void ED_outliner_select_sync_from_pose_bone_tag(struct bContext *C);
|
|
void ED_outliner_select_sync_from_sequence_tag(struct bContext *C);
|
|
void ED_outliner_select_sync_from_all_tag(struct bContext *C);
|
|
|
|
bool ED_outliner_select_sync_is_dirty(const struct bContext *C);
|
|
|
|
/**
|
|
* Set clean outliner and mark other outliners for syncing.
|
|
*/
|
|
void ED_outliner_select_sync_from_outliner(struct bContext *C,
|
|
struct SpaceOutliner *space_outliner);
|
|
|
|
/**
|
|
* Copy sync select dirty flag from window manager to all outliners to be synced lazily on draw.
|
|
*/
|
|
void ED_outliner_select_sync_flag_outliners(const struct bContext *C);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|