19 #include "../outliner_intern.hh"
31 BLI_assert_msg(0,
"Outliner trying to build tree-element for deprecated ID type");
37 return std::make_unique<TreeElementIDLibrary>(legacy_te, (
Library &)
id);
39 return std::make_unique<TreeElementIDScene>(legacy_te, (
Scene &)
id);
77 return std::make_unique<TreeElementID>(legacy_te,
id);
#define BLI_assert_unreachable()
#define BLI_assert_msg(a, msg)
ID and Library types, which are fundamental for sdna.
#define ID_TYPE_IS_DEPRECATED(id_type)
#define TSE_IS_REAL_ID(_tse)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
TreeElementID(TreeElement &legacy_te, ID &id)
bool expandPoll(const SpaceOutliner &) const override
void expand_animation_data(SpaceOutliner &, const AnimData *) const
static std::unique_ptr< TreeElementID > createFromID(TreeElement &legacy_te, ID &id)
bool outliner_animdata_test(const AnimData *adt)
TreeElement * outliner_add_element(SpaceOutliner *space_outliner, ListBase *lb, void *idv, TreeElement *parent, short type, short index, const bool expand)
struct TreeElement * parent
TreeStoreElem * store_elem