Blender Git Commit Log

Git Commits -> Revision e2d469f

Revision e2d469f by Bastien Montagne (master)
July 7, 2016, 19:21 (GMT)
libquery: add new 'BKE_library_idtype_can_use_idtype()' helper.

This should allow us to avoid a lot of useless processing when iterating over the
whole main database (unlink/remap/usages checks/etc.).

Note that some ID types report they can use any type for now, due to
fuzzyness/indefined nature of some usages (like constraints/modifiers/game logic,
or ID pointer of nodes...). Maybe we could address this (like e.g. adding defines
in relevant headers to restrict ID types used by constraints, by modifiers, etc.).
But don?t think this is top priority for now.

Commit Details:

Full Hash: e2d469f8786530488ea3afc257b3ff33c07990fc
Parent Commit: b651812
Lines Changed: +80, -2

2 Modified Paths:

/source/blender/blenkernel/BKE_library_query.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/library_query.c (+78, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021