--- a/src/ldtypes.cpp Fri Aug 16 23:59:09 2013 +0300 +++ b/src/ldtypes.cpp Sat Aug 17 00:02:17 2013 +0300 @@ -641,7 +641,7 @@ template<class T> void changeProperty (LDObject* obj, T* ptr, const T& val) { long idx; - if (obj->file() && (idx = obj->getIndex()) != -1) { + if (obj->file()) { str before = obj->raw(); *ptr = val; str after = obj->raw();