Warlander / DeedPlanner-3

Village design and preview tool for Wurm Online and Unlimited
Apache License 2.0
23 stars 9 forks source link

Overhaul Unity lists and trees #49

Open Warlander opened 7 months ago

Warlander commented 7 months ago

Current system is prone to slowdowns when switching to a tab with a lot of tree elements (like walls and objects/decorations) for the first time due to creating all the tree elements at once instead of lazily. It also mixes model and view (updaters need to hold reference to a view to figure out which element is currently active or if it changed, for example), and isn't very flexible as any feature like filtering/searching needs to be implemented in view.

Some implementation points: