Blender Git Loki
Git Commits -> Revision 86de8ba
Revision 86de8ba by Lukas Toenne (depsgraph_refactor) April 7, 2014, 15:43 (GMT) |
New utility class IDPtr/ConstIDPtr for handling ID subtypes. This supports implicit casting from ID C subtypes (e.g. Scene, Object) to plain ID without having to access &xxx->id or do explicit casts every time. Also could provide upcast facilities later and possibly assert based on the ID name prefix. |
Commit Details:
Full Hash: 86de8baa658c0a21b9726cb3a84f3c84c0875275
Parent Commit: c9eb697
Lines Changed: +69, -0
1 Added Path:
/source/blender/depsgraph/util/depsgraph_util_id.h (+68, -0) (View)
1 Modified Path:
/source/blender/depsgraph/CMakeLists.txt (+1, -0) (Diff)