Blender Git Loki

Git Commits -> Revision 4484fbe

Revision 4484fbe by Joshua Leung (depsgraph_refactor)
December 17, 2014, 03:30 (GMT)
Added back defines of "opcodes" for opearation nodes

These are essentially identifiers we can use for quickly checking or searching
for particular types of operation nodes from a component, without resorting
to dynamically building identifier strings or other crazy stuff like that.

* Unlike in the past, these are stored on the OperationDepsNodes themselves.

* Not all operations need to have an identifier defined. Only those operations
which are very common or important must have one. All others can simply
reuse the generic "DEG_OPCODE_OPERATION" with a suitable string

* These are defined in a separate header, which is designed to be used like UI_icons.h
to create a set of printable string ID's for nicer debug printing

Commit Details:

Full Hash: 4484fbe4b2836a8db7f697b0c6da8171d417fe5c
Parent Commit: fe14fa3
Lines Changed: +136, -0

1 Added Path:

/source/blender/depsgraph/intern/depsnode_opcodes.h (+126, -0) (View)

2 Modified Paths:

/source/blender/depsgraph/CMakeLists.txt (+1, -0) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.h (+9, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021