Blender Git Commit Log
Git Commits -> Revision b8b7b47
Revision b8b7b47 by Hans Goudey (master) April 19, 2021, 17:25 (GMT) |
Fix T85223: Some modifier panels can dissapear in old files The problem is that each uiBlock needs to be assigned a unique name, but when there can be multiple modifiers of the same type, we use the panel sort order for the unique part of the string. However, the most recent test file has 1200+ panels in the property editor, so 4 characters isn't enough for a unique string. That's not a situation I expected, but it makes sense, because we don't remove legacy panels with unused types when loading old files. So they tend to accumulate a bunch of unused panels. That's why this works fine with a new property editor, it doesn't all of the extra old panels. These panels must be stored for the expansion status and order, but arguably we could cull unused panels on save. However, simply increasing the length of the unique panel string is a valid fix in this situation. In the future, we can look into removing unused panels when saving. |
Commit Details:
Full Hash: b8b7b47a0062ec5cc95818e9fc6bf34d07a268b0
Parent Commit: 6f761c7
Lines Changed: +1, -1
1 Modified Path:
/source/blender/editors/include/UI_interface.h (+1, -1) (Diff)