Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment