+ // For read actions being used by ModelHistory, mark the reads_from as being used.
+ if (act->is_read() && act->getFuncActRef() != NULL) {
+ ModelAction * reads_from = act->get_reads_from();
+ if (reads_from->getFuncActRef() == NULL)
+ reads_from->setFuncActRef(HAS_REFERENCE);
+ }
+