Commit 953d007a authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

use variables

parent e233c7f7
......@@ -70,7 +70,7 @@ void filmTEST::getProperties(gem::Properties&props) {
for(i=0; i<keys.size(); i++) {
std::string key=keys[i];
props.erase(key);
#define SETPROP(k, v) } else if(k == key) { double d=(double)v; props.set(key, v)
#define SETPROP(k, v) } else if(k == key) { double d=(double)v; props.set(key, d)
if(""==key) {
SETPROP("fps", m_fps);
SETPROP("frames", m_numFrames);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment