Commit f5096cb8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when saving model in cache project is also processed

it can have impact on performance...
parent 0fad2586
......@@ -174,6 +174,10 @@ public class ModelService implements IModelService {
// this is a trick to load all required subelements of the model... ;/
// lets copy model - it will access all elements...
new CopyCommand(model).execute();
for (ModelData m: model.getProject().getModels()) {
new CopyCommand(m.getModel()).execute();
logger.debug("Model loaded successfullly");
models.put(projectName, model);
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