removing empty AppliedClassProperties objects

This commit is contained in:
Konstantin Käfer
2014-07-01 12:50:08 +02:00
parent b9fbb4f80b
commit 475f0481b3
4 changed files with 29 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ namespace llmr {
const PropertyTransition &ClassProperties::getTransition(PropertyKey key, const PropertyTransition &defaultTransition) const {
auto it = transitions.find(key);
if (it == transitions.end()) {
fprintf(stderr, "using default transition: %d/%d\n", defaultTransition.duration, defaultTransition.delay);
return defaultTransition;
} else {
return it->second;