Blender Git Commit Log

Git Commits -> Revision ac66a77

Revision ac66a77 by Lukas Toenne (depsgraph_refactor)
March 20, 2014, 13:39 (GMT)
Changed the 2 constructor variants of nodes to a virtual init and copy
function.

This has the advantage of being inheritable by subclasses, other than
constructors which have to be redefined every time and then do nested
constructor calls for base classes (constructor inheritance has actually
been added in C++11, but is not widely available).

Commit Details:

Full Hash: ac66a77c8c559bb66a62056d0fa8010ec06448e3
Parent Commit: a6bddef
Lines Changed: +21, -39

3 Modified Paths:

/source/blender/depsgraph/intern/depsgraph_intern.h (+6, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+9, -22) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+6, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021