Blender Git Loki

Git Commits -> Revision bd7e4d2

Revision bd7e4d2 by Sergey Sharybin (master)
April 13, 2016, 07:45 (GMT)
Tweaks to the version string formation

Couple of things:

- No need to use string streams to format the version string,
we can do it at compile time and don't bother with anything
at runtime.

- Function declaration was wring and would have caused linking
conflicts in cases when util_version.h was included from
multiple places.

We should have an utility function to get Cycles version so
applications which are linked to Cycles dynamically can query
the version, but that can't be done as an inlined function in
header and would need to be a function properly exported to a
global symbol table (aka, be implemented in a .cpp file).

Commit Details:

Full Hash: bd7e4d2a3db3231cde0b25666d3293e20cca8e92
Parent Commit: ed05075
Lines Changed: +7, -12

2 Modified Paths:

/intern/cycles/app/cycles_standalone.cpp (+1, -1) (Diff)
/intern/cycles/util/util_version.h (+6, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021