Depends On D7324
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/blenloader/intern/readfile.c | ||
|---|---|---|
| 9422 | putting this before the linked data processing in case of undo is a step back in performances, since just getting the name of the ID is much cheaper than actually reading the whole struct. Not saying this is a huge importance, we now file reading is not really performance critical currently in undo, but still, why? | |
| source/blender/blenloader/intern/readfile.c | ||
|---|---|---|
| 9422 | The reason was to simplify the control flow. But after refactoring it's become relatively easy to avoid this memory allocation, also for the case where we are restorign local datablocks. Done in D7336: Cleanup: avoid memory allocation for unchanged datablocks in undo. I'd rather not update this patch because it requires me to update the other 6 patches. | |